Hi all,
Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:
./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>
Introduced by commit
c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
--
Cheers,
Stephen Rothwell
Em Thu, 1 Nov 2018 08:28:20 +1100
Stephen Rothwell <[email protected]> escreveu:
> Hi all,
>
> Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>
>
> Introduced by commit
>
> c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
>
Somehow, I missed this warning. I'll send soon a fix for it.
Thanks,
Mauro
Hi Stephen,
Em Thu, 1 Nov 2018 08:28:20 +1100
Stephen Rothwell <[email protected]> escreveu:
> Hi all,
>
> Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>
>
> Introduced by commit
>
> c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
>
How are you building it? Here this warning doesn't pop up.
I'm using here:
gcc (GCC) 8.2.1 20181011 (Red Hat 8.2.1-4)
And I'm using:
$ make ARCH=x86_64 CF=-D__CHECK_ENDIAN__ CONFIG_DEBUG_SECTION_MISMATCH=y W=1 CHECK='' M=drivers/media
(it is not a full build, but it should be enough to get warnings at the
media subsystem)
Thanks,
Mauro
Em Fri, 2 Nov 2018 07:30:16 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:
> Hi Stephen,
>
> Em Thu, 1 Nov 2018 08:28:20 +1100
> Stephen Rothwell <[email protected]> escreveu:
>
> > Hi all,
> >
> > Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
> > produced this warning:
> >
> > ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>
> >
> > Introduced by commit
> >
> > c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
> >
>
> How are you building it? Here this warning doesn't pop up.
>
> I'm using here:
>
> gcc (GCC) 8.2.1 20181011 (Red Hat 8.2.1-4)
>
> And I'm using:
>
> $ make ARCH=x86_64 CF=-D__CHECK_ENDIAN__ CONFIG_DEBUG_SECTION_MISMATCH=y W=1 CHECK='' M=drivers/media
>
> (it is not a full build, but it should be enough to get warnings at the
> media subsystem)
Nevermind. Got it using:
$ make headers_check
>
> Thanks,
> Mauro
Thanks,
Mauro