From patchwork Fri Sep 27 13:28:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hardevsinh Palaniya X-Patchwork-Id: 831490 Received: from IND01-BMX-obe.outbound.protection.outlook.com (mail-bmxind01on2120.outbound.protection.outlook.com [40.107.239.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A58EE282FA; Fri, 27 Sep 2024 13:30:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.239.120 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727443827; cv=fail; b=Cbqw/Ei50zwuYE4BrMoH49NtNGP72AL8zgwOzJQ3Ndy+3N3seK5pR30HbobIlQ50a7BzTzmOuJvrA8BNckfuIJxKgJfZYrWL1CpJmiuoNMGr0RV5KAI9Cxy+DLmL0YL7e1mnCJhZT0s1ni9eBwlNr9xbMLMGQf7+eyg1ukQHquQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727443827; c=relaxed/simple; bh=sC3u/JZ6EzKAf5NGXqXFmTxIwXabFsp5XKGQLYZdALw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=l5WoEVN0PC//vTrnk/CuCtOQ1t7kl4DdZAA1im/e9MFY/0K44L6NaBWeFIigvFeJnvOXZ7NnKVocbFuEKWDZMXkLxpmdkllmmV2478pJWxELeEy5TTaT7770HkZUIBXAqddD0klh8s/peDC55a5EqZdMdPIw1sZOU9h/ScbcKw0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=siliconsignals.io; spf=pass smtp.mailfrom=siliconsignals.io; arc=fail smtp.client-ip=40.107.239.120 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=siliconsignals.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=siliconsignals.io ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZL2srfy9OE56f1n46WEGbvjRBTxnuFDe1HsovgMJPTCGIBTlzlDWc9e0UkeJYQBg7kO3zl2K4gLGdx0eYAKeXe4/DPiEpQVE/kpIkDya4EN3x+M+4R9DZR8/tmlfsHR4VJVLnz+dJBnc1rvm5Wi4YIwldCbr5Sm3m102dbusuNn6RE7Utp+sTskDMO4lyYbUv88jvZl9Tq7Qt1sGHqOftnak9mBBOFrwFo7ml3j4w5oHzrxWmYgNgHWS4ogbPXOYqHR+IDO/duecyWO+Rzr85oH+vuelwDXx631lnk9Kqa4fLGoLQVY0YOzYBrxrRUy3fkRLipQfmgPhaqbF+Ua1OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8B+ctj4wnj1B8HkzVG4H9VH0Yeeb7LHUmfY3cablIj0=; b=tPHT029O/uPdO19wH0uPsS+MI3isYhzmbkhNoSuwi9P6YDMYIIzZrdK1PzOi1fiOTQJL0GGtyLN/AdFNPUAU9hH153Dh3gV/cVBJRLpMGv+x2i+3MGVBI4L9AFa/rS09NDYvC2Cpd1KZ8YKjIijODDNHzO0ExnCWokYaLvWyayFeElzG7UUjxNQjk/cySrVjnaXOCjqo9bjSq5W7Ys2uMQ+trAUxM9Hw7TGL7iPn7BseKocU38xW1TtrxmiWLrkA54MsFpW3zJPNrJ8FSMhs3SZQH9gu4tt4cBx+Wi1VEK7zCG/NBsFr7hB1nVtcfniZUJKow4i0pWID0+U8Y0ey4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siliconsignals.io; dmarc=pass action=none header.from=siliconsignals.io; dkim=pass header.d=siliconsignals.io; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siliconsignals.io; Received: from PN0P287MB2843.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:204::8) by PN2P287MB0416.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:116::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.22; Fri, 27 Sep 2024 13:30:22 +0000 Received: from PN0P287MB2843.INDP287.PROD.OUTLOOK.COM ([fe80::1134:92d7:1f68:2fac]) by PN0P287MB2843.INDP287.PROD.OUTLOOK.COM ([fe80::1134:92d7:1f68:2fac%5]) with mapi id 15.20.8005.021; Fri, 27 Sep 2024 13:30:22 +0000 From: Hardevsinh Palaniya To: linux-spi@vger.kernel.org, olteanv@gmail.com, broonie@kernel.org Cc: Hardevsinh Palaniya , Han Xu , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Haibo Chen , Yogesh Gaur , imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] spi: spi-fsl-qspi: Fix casting warnings Date: Fri, 27 Sep 2024 18:58:33 +0530 Message-ID: <20240927132944.19285-2-hardevsinh.palaniya@siliconsignals.io> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240927132944.19285-1-hardevsinh.palaniya@siliconsignals.io> References: <20240927132944.19285-1-hardevsinh.palaniya@siliconsignals.io> X-ClientProxiedBy: PN3PR01CA0021.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:97::19) To PN0P287MB2843.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:204::8) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PN0P287MB2843:EE_|PN2P287MB0416:EE_ X-MS-Office365-Filtering-Correlation-Id: dcebe16e-98a3-4e8a-6569-08dcdef889de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|7416014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: aVLg4mXO8TIK+QSlOd23eCAHfSR6o5A83RsQMtkbxJj89seqf+7jR85DKzwc53gE1CIZqhG7J/JGRyI74+LXmdtd6GGG3W7OjFnWJpFmdiV47q0zABmHRFECpyc+RHYEVRljSplAfcEjg8XQqPqHC/sqFXBzPiZepH3ZvH7Y2/DUS6XhSTcA9rAo3NUPvDnoW2I0Fwy5FkRHg6WXMp59ze1mD7VdrBaYJNa0LYVlyo5bfRmV9mR2HrQnnsm+fWiOACxN0YanIDLVZtpHxB5hGcpC5PG1I276vPjHtq0h7rL/hEaKWjPyBX9SdkXTWy/jlkj6/KSUe0Hm2wQgP16uo2m92UZjAqB8KbcsjnDIk98A97GCJ5nKaKCOqbaKlUZ5fCSrMdgIDUW7se1fodeEwoHkqjiYL3sGOpXx/tqvOPMfYsVQLdNBkkOMNZE5zsb2/qLNPhy0Y2ZHWuReg6Ajasoe7KcDihFKO8fnBQlhOh8AkarGUdWDfjxMtVnNBMs5d/J9pwptM2XPYvlpXGc5pZL/cSrr08cZwMuaXRW398mR6rtr8Ze2i56UOxTIjHNFNEvw6iptH6nDNLcx17IypjN3g0CzX3d/lPpgLmxxOb9nhsTM9hqCseJCrgXyJRgPoU0Rxz4wfbQVoyI2vbACgFc04AT8U479qm0Sw9LPBn+y1UMhcUvufL+wDLCy+oGx9Kt4qip8CJvh4L1n0yNBuxdld1yuYRAw+D7R1hIlIzoZpr83eHgzyFjDRCukJxBPrMygAHb4Ua4mvqCgSYB+ipxvoDrhsiM6GYGJsV7UjrPsd6hQI3IDIP6sn8S0x6wjNgkVayiEl5OmtElWvSFW6nUJuB6TDC3ZEBpElaseKuvsETVZ3AOpypbcUWhOBXm6UDazH39Ifps6uhqffTuXQw+V6Th2m0PQ8I8yP07RRumttTshsFKQT4o/rAParWSKLmbAR7DitQfSyB9Q2tJ+ZNTM3C6PR5AvvQra969p5+HojSwJbEUeBI/TzyGNGaeYLrdzz4q8dUlApc/HozmRloN9du30xdzepiF+/sJoj35eoCTo+MbAkY2RvLjnqwy0YpYjsgW8u1BKIbk6tBkovbPeqB8V5JcnLrAIzYE1FnzD50uds2cXcMhRa0XS8TH0/X5q/UhZK897x8uuAtawvK6knxTmMXtzKlKzddp+Ep6RJCcK4CMPrRdXyY4nsrgljvuDDofwCYO76Nm//3RRIkFFfBQwOWtf3vuUjyMi6wm01F476mAoFifeeix457DzcHS/YG4D358VqnH9Par3uIAmYTIO3FC3oDkPvMUtIsIWo8KJReLQy0IlJcAmMkqoQFIdUZY4LMKG7blRSKBpQLCEaLqdpM5qMO7H2+Ub/PqxvX4GxMpCTnsJRLL2nHXOqr7BUrFhdcFdzz9X2jrWDw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PN0P287MB2843.INDP287.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(376014)(7416014)(52116014)(366016)(1800799024)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Hi7DaCLQo0R/MP94T0K+ZnL37zhFnWesIUERNAsFWRyfHhBfs+mJyw5Lqk3o303Zwsal0aJhaX8ci92GTBSbtcF2ir11kXuS3hv0rJ0E/IX8jnvk0oNhqM1wCNMJkmJoEpyEblBAQMe8DyFPIUiv4u1pH2TWx6xh/OQ5ExPCTJXFpJ0+hmR6O9ZLnvL/hH3esy2tgUi31yG1VZB3x42YkFfScOoX+aSgwYNd6n7iiHTtnORS31VEsxCCdYJA4iWSd4P2YOp3pDULTjeVEC/1e9MAg9cWDHMevrM8ECndyZoyE/MnmacY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CFpL43sNOyseUrlWG234YfLSYgYx0gv5SLaZZZsU4/aaA54aBjrsgSGZUiGZFToH9pKYwOJb/YRAPBpaXsceNI8W+lJNHm5c516QEW9ls+BaXfirR7LFGrrWavEBjoxWfSpZeV8rU0BWBkW6m2o+SZfNP3vdkXkBBDZHv8B8iVjN2kTWk4OUk8KQyztVgYKJaptqHJ2af4lFhnYewGD5yKJ9UPt4fR7ieQSTHepXtUMtmCTwhKBBK824Mj6XSBBzkAx5GW/yTpOr4pnYt6xM X-OriginatorOrg: siliconsignals.io X-MS-Exchange-CrossTenant-Network-Message-Id: dcebe16e-98a3-4e8a-6569-08dcdef889de X-MS-Exchange-CrossTenant-AuthSource: PN0P287MB2843.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2024 13:30:22.7481 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 7ec5089e-a433-4bd1-a638-82ee62e21d37 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: olaUcIAEo5Ui5sUbdo+7B1VvzP5Owx+G4KE7L21izKk3pK94b37MevvVj89sfFYlL2dTvGtNc8VNI5k1J7LOK204QzD5T/JlC3nGCbX6Hl3CdHte+ETYkyqJBHxcAOte X-MS-Exchange-Transport-CrossTenantHeadersStamped: PN2P287MB0416 Sparse warnings: drivers/spi/spi-fsl-qspi.c:635:25: warning: cast from restricted __be32 Signed-off-by: Hardevsinh Palaniya --- drivers/spi/spi-fsl-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-qspi.c b/drivers/spi/spi-fsl-qspi.c index 79bac30e79af..e4a2a6049e33 100644 --- a/drivers/spi/spi-fsl-qspi.c +++ b/drivers/spi/spi-fsl-qspi.c @@ -632,7 +632,7 @@ static int fsl_qspi_readl_poll_tout(struct fsl_qspi *q, void __iomem *base, u32 reg; if (!q->devtype_data->little_endian) - mask = (u32)cpu_to_be32(mask); + mask =(__force u32)cpu_to_be32(mask); return readl_poll_timeout(base, reg, !(reg & mask), delay_us, timeout_us);