lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sparse: use identifiers to define address spaces
On Thu, Jun 18, 2020 at 09:59:05AM -0700, Linus Torvalds wrote:
>
> The new warnings don't seem to be due to the kernel test robot having
> an old version of sparse, but just because the error strings changed,
> and presumably the kernel test robot has some "ignore old sparse
> warnings" logic.
>
> So the warnings all look new, even if they aren't.

What is strange is that only some of these warnings are shown as
new, but not all. For example it shows
>> drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base

as new, but not the following one:
drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base

while both have their string changed (__iomem).

Just to be sure, I checked this file and (of course) all these
warnings are old ones, caused by a missing __iomem in the assignments:
struct fsl_spi_reg *reg_base = mspi->reg_base;

Why some are shown as new and some as old is a mystery to me.

-- Luc

\
 
 \ /
  Last update: 2020-06-18 20:56    [W:0.049 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site