lkml.org 
[lkml]   [2017]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2017-06-21 12:16    [W:0.068 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site