Quantcast
Channel: lkml.org : Vaidyanathan Srinivasan
Viewing all articles
Browse latest Browse all 890

Re: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...

$
0
0
Linus Torvalds writes: (Summary) On Sat, Mar 10, 2018 at 7:33 AM, Kees Cook <keescook@chromium.org> wrote:

[...]

*addr @@ got struct mac_regs [noderef] <avoid *addr @@ Actually, this seems a valid warning - it's assigning a __iomem pointer to a regular void, and dropping the iomem in the process. Sparse does *not* like VLA's, so what may be going on is that fixing something VLA-related in your tree just makes sparse (correctly) check something that it had given up on before.
something that it had given up on before.
So don't worry about the sparse ones, if they are new.

Viewing all articles
Browse latest Browse all 890

Trending Articles