Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

From: Lee Jones
Date: Wed Jul 08 2020 - 03:28:56 EST


On Wed, 08 Jul 2020, Martin K. Petersen wrote:

>
> Lee,
>
> > Out of interest, do you know of any other efforts to fix W=1 warnings
> > in SCSI?
>
> I am not.
>
> I try to encourage that all new patches get compiled with C=1/W=1. If I
> could, I would strictly enforce this. However, there is just too much
> vintage code around at this point. And even some of the most actively
> developed "contemporary" drivers suffer from a large amount of sparse
> warnings.

Exactly. This is what spurred me on in the first place. I really
wanted to build my own subsytems with W=1, but due to the very many
spurious build warnings I was forced to avoid them. Once I fixed my
own, I thought "why not fix others", and here we are.

Backlight, MFD, PWM, USB, Misc, Regulator, GPIO, ASoC and MMC are all
clean. Now it's SCSI's turn.

> warnings. Would love to see things cleaned up.

Great. Watch this space.

--
Lee Jones [æçæ]
Senior Technical Lead - Developer Services
Linaro.org â Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog