From patchwork Wed Jun 24 15:06:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 191690 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp677331ile; Wed, 24 Jun 2020 08:07:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzp1upHf5wzb7PGxQSVRvLg+dMTi68vr5WqzTE9Xdyc5EoVqKGlPfI0CRHwlyeW2Fi+Saf X-Received: by 2002:a17:907:72ca:: with SMTP id du10mr25164639ejc.78.1593011268237; Wed, 24 Jun 2020 08:07:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011268; cv=none; d=google.com; s=arc-20160816; b=PjP3y40DFDAMIU7AutOEly64Tc3y9urVbu56nypgT77p3cuC4pnQHpxejHGrxgqgzg fb//AkhuH9srXS5MGOTU3cGFpU/Xy6T5WuinSwJzVBL42SVpYk2g5gixbAM8UGJPVfRD sTxbQyq2/nvhIXaqf3LxeSig2mAH9mqCef/mmb417xGcWtpGNObHHmvdWrije1vC11iE M+lywQDECjylePjngo8dUfG6qh/x9DgRxr5LYnMm6cpTgRCjUeit7zz//X0Ac6LBK2Gt vU2GnvlzY/mgrpVBo26v0Gkz5tkC+4Pt5qrRIEdcaW3J/hYSVUz74QxzzCSxBolLyhU1 pVWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gtJAcvpHkuLRDrUsq1eY3z1bY+z7q8TiiXjibqyd6Ck=; b=bPaFUqmJY9R7a0DD3XXVZt0EKCpgCGFqPgUCivFlhdY50aUgflCR+aOvWTTKHgDtPX bmSfKtB0sodWMMRlrcZ/andEUtsGnnNnrYFsTc9ThW3KxUtGP4DpXLC+5hanqcjQFn4G /BgNNmRGDu2ajnrDXSA8ukx0cTm7nxC1CuMqLRMab9E2tFDIL3LZuOaQZyhON62+T9w3 6WSEjNWbIxMoNmgvwksIHTha5jr/ZFj4o1utKuMSG7g3v5fd8u00fR2mSuHWTFUfjiJP H+Rf2Nqd0RC88chTXTHNIMkjCEdmolOihuSt2M61Gmq/zPLxec8+TamCr2xZj8F6uW0O +c9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHnjSn2W; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si12817081ejd.191.2020.06.24.08.07.48; Wed, 24 Jun 2020 08:07:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHnjSn2W; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404158AbgFXPHR (ORCPT + 4 others); Wed, 24 Jun 2020 11:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404132AbgFXPHQ (ORCPT ); Wed, 24 Jun 2020 11:07:16 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FCA8C061573 for ; Wed, 24 Jun 2020 08:07:15 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id 17so2872973wmo.1 for ; Wed, 24 Jun 2020 08:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gtJAcvpHkuLRDrUsq1eY3z1bY+z7q8TiiXjibqyd6Ck=; b=ZHnjSn2WorVvPlhnsW05PjkW49hRNPgq84FENEFtuoQWoLFoS5Koxe/dFywbKRMHXL 3TdXrKvSsAttDlfRMZtJGsuGsj/a+hJcx94EmcpOadjkOkkb+KaWqiOYgNy6L6Yx11WO +baxZJlc03ZWuHtQboIEUm9C0m3an2F/wAOR3zMqIO+0e0yZcoFn/dKH/AZytJKBvXIf kasqyP3fjB5JUNwQho/QWyRHJ3YJOyhWE3+Oe40vlAuTWYeoqbw7Ezbto0uUymTcO6fp rAU9JBU5tdSYDQHnIyQdY1pyBRF0zOeb8P/DzpPmVAGVbd1L9Mlm8deCmJcpHyEmu7Vk irqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gtJAcvpHkuLRDrUsq1eY3z1bY+z7q8TiiXjibqyd6Ck=; b=qU/eeedyQOkPKq2uNzPSsY/J4HYzg8xv4+IPFg9X3OoSOWtbFsUbLm5RoJijfpTqoa gDhNprSSbFzRRRq3ezrw/o5T54MRI3o2LYxsHp8mL1doNDWKKxiRIubodl/xvqxuY55W nwve58JE7yX4zagQdlaUpLIyz2IQmHmFHzpU+0a5bfZ6AiAdUv5dObxOse3tGK0h8RMX mtvIMz3opC36cXfWdIRqUnd1CX8YmRwoldzBZ3fxMeiGZS6aAgHx+uYl0Q1+P9nb2Rb4 rJqfSuHLWpKHf4Sn6VyY/HPExaforaRQ1vZwq36pC05xk99ONBNeUm4y1OBzftLkNJE9 CZlQ== X-Gm-Message-State: AOAM533IothjRqnrhxjfGiTbz3GMTELc4EhyM0xQQrks9mUDQNht4CUV adwOehHKxzsAnqLrwj6fP4GcmQ== X-Received: by 2002:a1c:e303:: with SMTP id a3mr12187899wmh.26.1593011234076; Wed, 24 Jun 2020 08:07:14 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id h14sm11543361wrt.36.2020.06.24.08.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:07:13 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tony Lindgren , Kai Svahn , Syed Khasim , linux-omap@vger.kernel.org Subject: [PATCH 02/10] mfd: twl4030-irq: Fix cast to restricted __le32 warning Date: Wed, 24 Jun 2020 16:06:56 +0100 Message-Id: <20200624150704.2729736-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200624150704.2729736-1-lee.jones@linaro.org> References: <20200624150704.2729736-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Silences Sparse warning(s): drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32 drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32 drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32 drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32 drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32 drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32 Cc: Cc: Tony Lindgren Cc: Kai Svahn Cc: Syed Khasim Cc: linux-omap@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mfd/twl4030-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index d05bc74daba32..ab417438d1faa 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -561,7 +561,7 @@ static inline int sih_read_isr(const struct sih *sih) int status; union { u8 bytes[4]; - u32 word; + __le32 word; } isr; /* FIXME need retry-on-error ... */