Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp798319rbd; Fri, 23 Feb 2024 04:08:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3tEYyZ6z/CvHgVZJoa9p8fZiQAtw3qsiY4r1nsyVDniitQccT4g+gW4ww5S27L3K/PTRk1fjJZPUNcZfE/W6kdJ/utRrjB0/uvsD82A== X-Google-Smtp-Source: AGHT+IGaTasF3aUDyABoJlV/FpU8fJ1OpNYKEgfh5FWOtSZ9PjtXu5TXYmk9LK9FVoyrVnoD0KHM X-Received: by 2002:a05:6a20:93aa:b0:19e:a9e6:bfa with SMTP id x42-20020a056a2093aa00b0019ea9e60bfamr2002609pzh.0.1708690117566; Fri, 23 Feb 2024 04:08:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708690117; cv=pass; d=google.com; s=arc-20160816; b=yX3fXy/EtV9IUzSRq42iLLTeRVPI6It5StSoE3mVyQnthAGd51ggCiCFzSEiIIkRC5 +xy+pJbd1xvpaL6B6eWH9jfzem0qHV09yYzK+WiNDn1m2gCr2D2h18l5XRGdnozAYgZy g29O93k4HnxLNccKl+vQga6f7FnF0tX2CXF5GLsRRB9hlaLit648zKgC8jN11Vbpc/7P z8Fstla6Uk88+L6Lj8Uj5o6cOLAtb6jnFqSC4s2Oa4YDBqA1cZu3UEwogxHnUGwOINac QjZwdidpLAPOXvsAn2ji6ZJj5tHCtRDqudOorC38oACzWsajmzAnHW318u7/KuXr5zlE bJLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=/JoEWxfji1Uk0avNe2dGjLItjjpsBAg/+Kguj45LPcA=; fh=4Sg/Ed7GRMPkCb5G9YvQuzmw+pIbnutmbzDMf6Y/Ofo=; b=a/aHSGim3ORx+OyE3dzykTD19u9iduQO/hVuHXBxA/SMB2yw4s8unbvFfsgU64fHlw ItSFKE4rkSop6KzQiwENQWZAk98CTYNqsZGEktcQ8cVvCVKKuuwzsvpQbROmiGH2FLLn 9p5IkRmK0e+22G2UGmA7AJ6O8+UpF8Nl98ZkgqQyUCLdCkMs5P9EotX8+PnHhi8s9GNo oQjEK7rZmNnTSnIqpmPVpe1e2f4HHTAmK98FT+aOOVj70U5LZlYMdG9KhYQdoqaaxACr TWArOr+GPXuwm9dpxiF4G3zZx4VZOyQW9RznXOdCoFnpTwTgeQMzpfI0Piiq1xqYVjJF VXgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KBw2jB/u"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78269-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k12-20020a635a4c000000b005cd811e2ffesi12091474pgm.18.2024.02.23.04.08.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 04:08:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78269-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KBw2jB/u"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78269-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 480C9285E50 for ; Fri, 23 Feb 2024 12:08:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0B557BAFD; Fri, 23 Feb 2024 12:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KBw2jB/u" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C2F487B3FF; Fri, 23 Feb 2024 12:08:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690101; cv=none; b=dNWrTXr32BRELexUtXe/7BjMUbi3vtLACoJNA6NwTY/Vz0Yp37JB7QvF/y5RfN9//VGde6JdNwxhdjZFGT2wwwLa91/TjXAWRiSiiet0RaxI1CCFn44PUv+psVnope9r5sTZUilWUH/PuW3mkaYCGzV1qBTwB0siMBkY0hul0XM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690101; c=relaxed/simple; bh=6N8Ld7WGmg8vZ3ZIlQzFA50i0hSgpatFocdagRDrzB4=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=sRLXP1seaXjApBuI49P79Czu9cskhWBqR2cJRTC++SxyiH+qvllA+Hr5193lYA+uPlmsqsyGQ4WORyIMdNtvCZA5x7kXoWPFr/c2HzXjKRe5l/RcPSOC8qmxcVO6l8Z8yDXl2My8IEkPiex8E84+96n69p6djdVcmDozuFaPy3U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KBw2jB/u; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C185FC433F1; Fri, 23 Feb 2024 12:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708690101; bh=6N8Ld7WGmg8vZ3ZIlQzFA50i0hSgpatFocdagRDrzB4=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=KBw2jB/u3ET3MtQr5fCPVMdC1IjXmuhrc1qzladUdd5pOXUYj3aeiqnv/7NWmpF9M Hoj+FcKZ+8/nDUSUlz+KwSDg0Yjcb1IA8UH1uTjv57UgKgrrbARFUFB5OJUC8PRjPf dKOtFwk2ivB/+n+WqifbQPcDLgxTHKr1mAI3NRle1WKSsF3xGss7CNEzh/2V77jnMk rnsQw9zifYZ301UzyH+E1F+/cbIQxWDWQymzOfnYud6eCnRcGama13T/u6wF6/MH9T GfTimCQfcFrbh4ZLs9gyT6yVQRjyHk9P7MIhMgHAql24unBBmcKmVuLBMtoBtUrn3Z mwwtcsF95c6yw== From: Vinod Koul To: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Frank Li Cc: imx@lists.linux.dev In-Reply-To: <20240209210837.304873-1-Frank.Li@nxp.com> References: <20240209210837.304873-1-Frank.Li@nxp.com> Subject: Re: [PATCH 1/1] dmaengine: fsl-qdma: add __iomem and struct in union to fix sparse warning Message-Id: <170869009943.529426.11568585221856957944.b4-ty@kernel.org> Date: Fri, 23 Feb 2024 17:38:19 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Fri, 09 Feb 2024 16:08:37 -0500, Frank Li wrote: > Fix below sparse warnings. > > drivers/dma/fsl-qdma.c:645:50: sparse: warning: incorrect type in argument 2 (different address spaces) > drivers/dma/fsl-qdma.c:645:50: sparse: expected void [noderef] __iomem *addr > drivers/dma/fsl-qdma.c:645:50: sparse: got void > > drivers/dma/fsl-qdma.c:387:15: sparse: sparse: restricted __le32 degrades to integer > drivers/dma/fsl-qdma.c:390:19: sparse: expected restricted __le64 [usertype] data > drivers/dma/fsl-qdma.c:392:13: sparse: expected unsigned int [assigned] [usertype] cmd > > [...] Applied, thanks! [1/1] dmaengine: fsl-qdma: add __iomem and struct in union to fix sparse warning commit: 1878840a0328dac1c85d29fee31456ec26fcc01c Best regards, -- ~Vinod