[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191022093512.4317a715@canb.auug.org.au>
Date: Tue, 22 Oct 2019 09:35:12 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Al Viro <viro@...IV.linux.org.uk>
Cc: Daniel Vetter <daniel.vetter@...ll.ch>,
Intel Graphics <intel-gfx@...ts.freedesktop.org>,
DRI <dri-devel@...ts.freedesktop.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Guillem Jover <guillem@...rons.org>
Subject: linux-next: build warning after merge of the vfs-fixes tree
Hi all,
[Some people didn't get this due to a typo]
This should have been reported against the vfs-fixes tree, sorry.
On Tue, 22 Oct 2019 08:07:34 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> After merging the drm-misc-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> In file included from include/uapi/linux/posix_types.h:5,
> from include/uapi/linux/types.h:14,
> from include/linux/types.h:6,
> from include/linux/limits.h:6,
> from include/linux/kernel.h:7,
> from fs/aio.c:14:
> fs/aio.c: In function '__do_compat_sys_io_pgetevents':
> include/linux/stddef.h:8:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
> 8 | #define NULL ((void *)0)
> | ^
> fs/aio.c:2196:38: note: in expansion of macro 'NULL'
> 2196 | struct __compat_aio_sigset ksig = { NULL, };
> | ^~~~
> include/linux/stddef.h:8:14: note: (near initialization for 'ksig.sigmask')
> 8 | #define NULL ((void *)0)
> | ^
> fs/aio.c:2196:38: note: in expansion of macro 'NULL'
> 2196 | struct __compat_aio_sigset ksig = { NULL, };
> | ^~~~
> fs/aio.c: In function '__do_compat_sys_io_pgetevents_time64':
> include/linux/stddef.h:8:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
> 8 | #define NULL ((void *)0)
> | ^
> fs/aio.c:2231:38: note: in expansion of macro 'NULL'
> 2231 | struct __compat_aio_sigset ksig = { NULL, };
> | ^~~~
> include/linux/stddef.h:8:14: note: (near initialization for 'ksig.sigmask')
> 8 | #define NULL ((void *)0)
> | ^
> fs/aio.c:2231:38: note: in expansion of macro 'NULL'
> 2231 | struct __compat_aio_sigset ksig = { NULL, };
> | ^~~~
>
> Introduced by commit
>
> de80166a573d ("aio: Fix io_pgetevents() struct __compat_aio_sigset layout")
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists