From patchwork Wed Jun 24 15:06:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 211328 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1CCAC433DF for ; Wed, 24 Jun 2020 15:08:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A32B5206C0 for ; Wed, 24 Jun 2020 15:08:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Dbjw8KGX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404433AbgFXPID (ORCPT ); Wed, 24 Jun 2020 11:08:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390970AbgFXPHO (ORCPT ); Wed, 24 Jun 2020 11:07:14 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36BFAC061795 for ; Wed, 24 Jun 2020 08:07:14 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id f18so2862182wml.3 for ; Wed, 24 Jun 2020 08:07:14 -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=g3Z/1Sd7KiUmvxa4jor9PLam8Q3K0QVIvvAftZ1YelI=; b=Dbjw8KGXNnJR4/Cv9UY5wql6tvwgAVUE3t+Ql2V7uqKucZ/2lLic1lPgg7arybg/Zv BPvQSpSjk+WFFTm6Ryjn5CCh5S44hDzHQealupKltEpkDgvluJwY4Vyyh1+bDYHsLFvR XxeB3/USF+YNB0BiW+2J7WhBAPKe9YtuzvMBzMUN5NaIjjygKhjsdMOwmU1NEwTHTPVk 0Jo2DMHgKs557saxVmYCP4vImoVwz7KcSk9WdMgBLHj74Kyjb9GIOtjBuAtNQ9VIRtoD V8K7Mx1uw2+Lt9rme1GVEtyg99f/y8opZ4jln0sKsUb/oiikPgu5OzLfhFqUCfbTBiNF 3qIg== 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=g3Z/1Sd7KiUmvxa4jor9PLam8Q3K0QVIvvAftZ1YelI=; b=qsOz7V03lyYkxdIJl1cj7I73MZICSKfMBnLeXRprvouU3RRR+pNW0wqwskT8nbKCPP zFJUg87niM9yKTVDUs0p0J0ZtkEs/snpRWlnJTcVKFLsct5JMbsOxXHQ0fRvHe1JNB6n fngNIBVn+kstOGucW/ZZD5ny/s0WqFI9zF0tsQ1mngn6MPJJceU6qiH3n/tLTk91QOIR EWowKxYG0uNPKwlMSDW6xIlBkMlZWMXZdVNRLmEQqAWtcN5AHhr8oGOynFnVDOWxjQaX R/LuVh78LnkQzzb+Z6AUIo5tNvtuxu7HEJOPWGSAqM+EZavRATYt7Y0lfV79eH1mR464 cAzQ== X-Gm-Message-State: AOAM530MLFlvJMf8Gw7enprDJPC3CVGhLwFr1p/VZ92j+BKlsDVaUnYs awTpuAog9AIhqy1/c7+aWlo9dQ== X-Google-Smtp-Source: ABdhPJzVLUwK2s/MOqSCAQcZkXnN+fggMvRKgafQCLwEIMyGzj3cCIhqWF3b0Km0Am8CCXEcMFz0HQ== X-Received: by 2002:a1c:4e1a:: with SMTP id g26mr29750762wmh.148.1593011232892; Wed, 24 Jun 2020 08:07:12 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id h14sm11543361wrt.36.2020.06.24.08.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:07:12 -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 01/10] mfd: twl4030-irq: Fix incorrect type in assignment warning Date: Wed, 24 Jun 2020 16:06:55 +0100 Message-Id: <20200624150704.2729736-2-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: drivers/mfd/twl4030-irq.c:485:26: warning: incorrect type in assignment (different base types) drivers/mfd/twl4030-irq.c:485:26: expected unsigned int [usertype] word drivers/mfd/twl4030-irq.c:485:26: got restricted __le32 [usertype] 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(-) diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index 910a304b397ce..d05bc74daba32 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -477,7 +477,7 @@ static void twl4030_sih_bus_sync_unlock(struct irq_data *data) if (agent->imr_change_pending) { union { - u32 word; + __le32 word; u8 bytes[4]; } imr; 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 ... */