Content-Type: multipart/mixed; boundary="===============4035252889913160424==" MIME-Version: 1.0 From: Miquel Raynal To: kbuild-all@lists.01.org Subject: Re: drivers/mtd/maps/physmap-bt1-rom.c:78:18: sparse: sparse: cast removes address space '__iomem' of expression Date: Tue, 10 Nov 2020 16:35:56 +0100 Message-ID: <20201110163556.3e3423f6@xps13> In-Reply-To: <20201110113827.hl5i27cpl6exo3md@mobilestation> List-Id: --===============4035252889913160424== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Serge, Serge Semin wrote on Tue, 10 Nov 2020 14:38:27 +0300: > Hello Miquel, > = > A situation noted by the warning below won't cause any problem because > the casting is done to a non-dereferenced variable. It is utilized > as a pointer bias later in that function. Shall we just ignore the > warning or still fix it somehow? Do you think the cast to a !__iomem value is mandatory here? Perhaps if you find an elegant wait to avoid the warning it would be nice, otherwise I guess we'll let it aside as a false positive. Cheers, Miqu=C3=A8l --===============4035252889913160424==--