From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: Re: linux-next: build warning after merge of the drm-misc-fixes tree Date: Tue, 22 Oct 2019 08:09:47 +1100 Message-ID: <20191022080947.246a5bc5@canb.auug.org.au> References: <20191022080734.41955464@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1206330778==" Return-path: In-Reply-To: <20191022080734.41955464@canb.auug.org.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Al@freedesktop.org, "Viro , Intel Graphics , Linux Kernel Mailing List , DRI , Linux Next Mailing List , Guillem Jover List-Id: intel-gfx@lists.freedesktop.org --===============1206330778== Content-Type: multipart/signed; boundary="Sig_/TCl9sYZkRxEv6Z+J7/HdopN"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/TCl9sYZkRxEv6Z+J7/HdopN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, This should have been reported against the vfs-fixes tree, sorry. On Tue, 22 Oct 2019 08:07:34 +1100 Stephen Rothwell = wrote: > > Hi all, >=20 > After merging the drm-misc-fixes tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: >=20 > 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' fr= om '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 =3D { 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 =3D { NULL, }; > | ^~~~ > fs/aio.c: In function '__do_compat_sys_io_pgetevents_time64': > include/linux/stddef.h:8:14: warning: initialization of 'unsigned int' fr= om '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 =3D { 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 =3D { NULL, }; > | ^~~~ >=20 > Introduced by commit >=20 > de80166a573d ("aio: Fix io_pgetevents() struct __compat_aio_sigset layo= ut") --=20 Cheers, Stephen Rothwell --Sig_/TCl9sYZkRxEv6Z+J7/HdopN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl2uHpsACgkQAVBC80lX 0GyToAf8DBPSQT84aCv3I5d9R2MbpGK6vazN8l7jnH3VAYoqBs+3nn2qg99WcnIu XS7Op9lVRe6KjezTOkFQAWKck4r2TXFBX8Nk2KLGyGcUt1ZTouvKPGsRVc5Exp7W PY2BbDDHCJpo6wCP3fcKUVoh3TRGzUwLaBPicvBoap6aoz3v2IFCfc+wwv/womSL HxLgirZlJboeWnfQTv83mtoxT2Y3DBZRdmg3iqhhbDK0VbIKDsL9mvNTRHGaD6br el3xuN2SfWBNpPc6odwht7Fdp1Dbi0Ht6NwSnf41hzwFES8NZXDclP6ZJjYIcfCn P6q8N9zKyby84DSlrjKzcQzlkmfMYA== =//rr -----END PGP SIGNATURE----- --Sig_/TCl9sYZkRxEv6Z+J7/HdopN-- --===============1206330778== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1206330778==--