Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp798704rbd; Fri, 23 Feb 2024 04:09:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW99R5N80MZw9vxrk5RRkZR3Bdk+HVkHB+asfAgYHKGkRLKCsmQIX6BtXMkm37kBdA9zq8Bp+YFHVf4xKhYpdV3yfd5K/D7U036k6Mp6w== X-Google-Smtp-Source: AGHT+IFDT3nmY52EFXA5xUyUomhldHndEGs0FW3zWugkV2ARF5DUkv6LbatuKUAkpNKn1dTdHhye X-Received: by 2002:a92:c5b1:0:b0:365:2390:9321 with SMTP id r17-20020a92c5b1000000b0036523909321mr1738879ilt.4.1708690162138; Fri, 23 Feb 2024 04:09:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708690162; cv=pass; d=google.com; s=arc-20160816; b=PulqrVAhxq60MBgzw/hLJOYfICr75XLFWLXSNb34W4CB6VwPrQS1StwTnDPcjg5GsY t8ZkCb3PwSWd8QU+dM+2/mKN8KPVJXxYsXpWsN8rQop2vYdxtBHc36hhW2rxLO187TMs Z+O/z+U3nLemcr9q7cKAvmH3AFyWOtXUh4Cj1FdhzYHl2msBgsu2GCtgDVrxGAdYZVga HUFTW67FXna7eT4diuCScHCNRWxr0QLN3zyrDh5BfVhru5JbFyGDfKCyvlchM0aormUh S62MRJCo7WgavmlFMtmYZ8inkF3so/EOCuG82Yt9rK1kIsQuADK256O+QdX2NR2GfDM0 u6OQ== 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=gqk997nH4H9rKt1+LZOa9iIBfzrKV02/MmJgHJ0PeAU=; fh=4Sg/Ed7GRMPkCb5G9YvQuzmw+pIbnutmbzDMf6Y/Ofo=; b=O+BpwvGzkyO5IGz1Tqe0R6BxqGRvup0tg5xyiyZrfD6QGcq8Od4PoiiwhvR5nX4n9P cPZbYBvFzrXuflkoMMsa1XSCBO+lIWwFCuAoGAcAY49u32MRc0Vk3gXe4KaW29JjXOqt bwoT8vyUZKXc3MlBN8eBSedbVvGgOXelYF05lrN1JlMmYxzd7ckxRfATCLVdkeBrXcbV t1EhcOZjB2CTHOiE/8Ff3yyesuKLO28vxMdMAHlFZ2lwg6bmLGRYOCX6OkNLuRbAOuXC oLEohjLaeYjgo0Qsa2C9p2UhyGTzXxe8eeYM8stVJAuM2k3gxzdhB4IYaE74HvXSjHjq 2nBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hn2G4CzO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q25-20020a637519000000b005dc35974c29si11747577pgc.424.2024.02.23.04.09.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 04:09:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hn2G4CzO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78272-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5A190B226E2 for ; Fri, 23 Feb 2024 12:09:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE59B7E109; Fri, 23 Feb 2024 12:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hn2G4CzO" 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 15CA77B3E2; Fri, 23 Feb 2024 12:08:28 +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=1708690109; cv=none; b=azPjzZDC327NBPdR+5tc8JINrWrmsLCeVFXqAnoWvFaW2OVAlkgL1WF4Gv+AyjLI8cFUi8XJvji0m+AIRSkFB+Ulr4M3Uir1zYzf7aYfZIxpY5hGGiW1gpgCEGNCJ6N8rIhgngVSUt3JgEFx+uA5+tRe0THOrFWDOaPvGfsqQlc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690109; c=relaxed/simple; bh=uoiiQeQo2YtOx4mz4CMGt+q1UJv5HBbeHyEhs6N2jNU=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=HchxaXM/V4hQ4EEBIgNE5eT4TRJF7+3tIAZKnQDh0r05us3w1VGprnpTNoqLv1rjIKNB/uSkO5GO2/P0KbslKObZfEOekUFMJqtqokSKHhp55lsrp8ICwAdFOHoDH125Zu/KZKUr/RjWPVjux4rzxb3pzARsv5MPfGM+6lu/As8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hn2G4CzO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C300C43399; Fri, 23 Feb 2024 12:08:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708690108; bh=uoiiQeQo2YtOx4mz4CMGt+q1UJv5HBbeHyEhs6N2jNU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Hn2G4CzOcRiSkCT2clLatUpTDnWiim/g1qjFGKGkDIKmxjCg5CmLgOVItBsmdIEVx Y6sQoV/3kALRpK+qj3HUC01RhJh7SM8xUXAlb8V0YH14gD/E32jclpPGTRe9i4VEYP egBCRcPs1kQarE08SvdBVBWQB5b4tzMb2b5G4HzWgUJLxBZwJA4I/PzvCliJMaoyZ3 q3Zg1vJOQriu4nK9qg94CycAd8jqc6N4AkFDChXnEjb2SFo4K5UGSNoaQoTL4zPTXu ECT/gbD8vweIcmvIIP/a3PGPsfkbRw09GFjv4KM7QSzzFowCiUAWskGPUZdkQwGBcb tbx42pljS286w== From: Vinod Koul To: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Frank Li Cc: imx@lists.linux.dev In-Reply-To: <20240219155939.611237-1-Frank.Li@nxp.com> References: <20240219155939.611237-1-Frank.Li@nxp.com> Subject: Re: [PATCH v2 1/1] dmaengine: fsl-qdma: add __iomem and struct in union to fix sparse warning Message-Id: <170869010682.529426.9943525377594193452.b4-ty@kernel.org> Date: Fri, 23 Feb 2024 17:38:26 +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 Mon, 19 Feb 2024 10:59:39 -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