Messages in this thread | | | From | Arnd Bergmann <> | Date | Wed, 21 Jun 2017 12:15:50 +0200 | Subject | Re: [PATCH] kernel.h: fix new warnings for container_of() |
| |
On Wed, Jun 21, 2017 at 11:25 AM, Ian Abbott <abbotti@mev.co.uk> wrote: > On 20/06/17 21:09, Arnd Bergmann wrote: >> >> I see new warnings with gcc-7.0.1 with the modified container_of(): >> >> fs/f2fs/dir.c: In function 'F2FS_I': >> fs/f2fs/f2fs.h:1122:385: note: found mismatched ssa struct pointer types: >> 'struct f2fs_inode_info' and 'struct inode' > > > Is that actually a warning, or just informational? In any case, it seems > like a good idea to avoid it.
It's informational, not a warning. I couldn't actually figure out what the message is trying to tell me here. Maybe the message could also be improved?
Arnd
| |