2018-10-31 21:30:57

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning in Linus' tree tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2018-11-01 02:39:29

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: linux-next: build warning in Linus' tree tree

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

2018-11-02 10:31:28

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: linux-next: build warning in Linus' tree tree

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

2018-11-02 10:35:18

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: linux-next: build warning in Linus' tree tree

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