From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 052BCCF0453 for ; Wed, 9 Oct 2024 11:10:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I8QUDh52m9TNIJ0PZ4ww5a968ccrK59qbkwAoVHWIJQ=; b=3eWP7QDzVPdsJ25nMFqnaLJubp TOR5KcHkW20YzoUY0K8+45rTKRmaV3XwPsmfryr1KMbJYn3BPpR68fbmqYYgPMQjIOmnQRq0i/H/q h8CoxIGhm/+h/8ZAZ2DS091uupuRw1auLi2cty19uEQPm6d25nRfS3o6/BIj021t6IvXQOmxh2f4O W8BVK/vWopsOZjiIWvMpMk4U6ceu7U5Ut6u6aVgsWC31I0tO+tZQokQGZGo3hcfHYYwS8R2eqC9+k KZF8QLIvSAh50PgcgZd5OvWNwPprJ+2TwYF57N98+0NSHOx4R2qSSoQbDk8bnA17diyKE7n6svHuK WhbCTBXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syUaQ-000000090Kt-45i3; Wed, 09 Oct 2024 11:10:34 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syUYi-0000000909b-03qc for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 11:08:49 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4304ea60a58so3269375e9.1 for ; Wed, 09 Oct 2024 04:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728472126; x=1729076926; darn=lists.infradead.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=I8QUDh52m9TNIJ0PZ4ww5a968ccrK59qbkwAoVHWIJQ=; b=d/Bng7N+cJuIGvVAgQQsW86ovAXmHyfiUsOszjS8Fv6MyWdDPyhjbkrlqNHmy90o1J DhUHnaU9XouzVzXIVPc4By6S4U4pSIrcghkSfRjAiTtv1pElkENRNO+hUDnOTQdMYmFg FNGWTA2/47/uweueW2kX5eO187tpbYEG6PHO9YOSJLrgy0wQZGNJlknzg7KgbvqNCf5J RlAKsIlVi9+DZJFQXqNGD+54vgERyd8LzeyitaA2R2dGHmDVZ6RArDVBYiJgPQ31MPCG du3gGXxu8k0jg8DM98ANYrGev5Lf10uJL7w3+xZYTahNBdAQ1MeDZJmELETUHkz9n4c9 mx4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728472126; x=1729076926; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=I8QUDh52m9TNIJ0PZ4ww5a968ccrK59qbkwAoVHWIJQ=; b=dELUx6oEBr1JkyA8e0kmHINeuMOCQveirqmlhQpl+FSIChnzSjZurPNhRcv6RrG85g 1L/zygKSHhUSFSiYMH/IaFDtaqk3KoJWCdNLr2cN0OXphjTqKOKrNK7uGwSRTBIkD0rn J6NUfd10Zk5AA04spTbrvXH7o37+8lHvOFcpEiX3d9pgRAd6nY+AKYhmz5dde6S4WgES lY9sg/x0jZbcfcIOimUIq/IoYyjlJi0rBPIIxDVRAm+0Yc5Yr1iD6G734VSrl8WOjSLl dkOrFaa68Y2uz339U1XUpMCZn2Bq3Qx9D4/+piWlUZYobfLd31ZXCgsjZTW16XPVGrHA +XlA== X-Forwarded-Encrypted: i=1; AJvYcCWWVvhTEINYfhDj7H0fmt/752KILlPMvOCneln+cuNRAeK0A1hkvOOajb7KkMKvAEdXqNd+9wgfKVRpOYu6Jx9S@lists.infradead.org X-Gm-Message-State: AOJu0YysoBvratOaVK/yqKBc+/Jz/FD1nIxXm2ZDij4rGVGtkKcf8YiU 0HVY4UkktXWupzswyA+dhenRKr7d8mdUaNVLqr9PC6aXwp3QWTKdxXYXrmcb X-Google-Smtp-Source: AGHT+IFDU5slgFFtiAB4ooSgNPxJIbNKZJJQlZQlPymnfSlop3jhF82LyfZTOAynRIvkGDE48V/9ow== X-Received: by 2002:a05:6000:144b:b0:378:955f:d47d with SMTP id ffacd0b85a97d-37d3aa7927amr779886f8f.11.1728472125581; Wed, 09 Oct 2024 04:08:45 -0700 (PDT) Received: from skbuf ([188.25.134.29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a993897cd3csm597381066b.78.2024.10.09.04.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 04:08:44 -0700 (PDT) Date: Wed, 9 Oct 2024 14:08:42 +0300 From: Vladimir Oltean To: Hardevsinh Palaniya Cc: Marc Kleine-Budde , "broonie@kernel.org" , "frank.li@nxp.com" , "shawnguo@kernel.org" , "imx@lists.linux.dev" , Sascha Hauer , "linux-kernel@vger.kernel.org" , "linux-spi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , Fabio Estevam Subject: Re: Fix Sparse warnings Message-ID: <20241009110842.jhtyt6ckbfp6medf@skbuf> References: <20241008055644.4900-1-hardevsinh.palaniya@siliconsignals.io> <20241008-impossible-mysterious-salmon-e1b8bd-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_040848_076120_A1341618 X-CRM114-Status: GOOD ( 12.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 08, 2024 at 08:43:51AM +0000, Hardevsinh Palaniya wrote: > >Have you checked the code on real hardware or compared the generated > >code on the asm level? > > it's just resolve casting warnings so.... > > No, I haven’t tested the code on real hardware. > > Are there alternative methods to verify it without using hardware? "Comparing the generated code on the asm level" means running "make drivers/spi/spi-imx.lst" before and after the patch, FWIW. It's about the most you can do in absence of hardware to test on.