Thread (29 messages) 29 messages, 4 authors, 2020-05-21

Re: [PATCH v4 0/7] firmware: smccc: Add basic SMCCC v1.2 + ARCH_SOC_ID support

From: Arnd Bergmann <arnd@arndb.de>
Date: 2020-05-21 09:31:11
Also in: lkml

On Thu, May 21, 2020 at 11:17 AM Will Deacon [off-list ref] wrote:
On Thu, May 21, 2020 at 11:06:23AM +0200, Arnd Bergmann wrote:
quoted
On Thu, May 21, 2020 at 10:11 AM Sudeep Holla [off-list ref] wrote:
Note that the warning should come up for either W=1 or C=1, and I also
think that
new code should generally be written sparse-clean and have no warnings with
'make C=1' as a rule.
Fair enough. Is anybody working on a tree-wide sweep for this, like we've
done for other things such as zero-length arrays? If so, I can start
enforcing this in the arch code as well (I haven't been so far, even though
I do run sparse on every commit).
I've done some work on that a few years ago, and there are always
some cleanup patches for C=1 and W=1 warnings, most recently
with an increase from Huawei's automated build testing + manual
patching.

I have not looked in a while, but it always seemed to be somewhere
between "too much to do by myself" and "small enough that it should
really be done" as build warnings go.

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help