2012-10-29 00:14:17

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the v4l-dvb tree

Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared (first use in this function)

Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines for
protocol bitmaps and numbers"). The new reference was introduced in
commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
merged by Linus on October 2 into v3.7-rc1 via the hid tree.

I have used the v4l-dvb tree from next-20121026 for today.
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (673.00 B)
(No filename) (836.00 B)
Download all attachments

2012-10-29 08:17:05

by David Härdeman

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the v4l-dvb tree

On Mon, 29 Oct 2012 11:14:03 +1100, Stephen Rothwell
<[email protected]>
wrote:
> Hi Mauro,
>
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared
> (first use in this function)

I can fix it, should be easy (rename RC_TYPE_ALL to RC_BIT_ALL).

> Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines
for
> protocol bitmaps and numbers"). The new reference was introduced in
> commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> merged by Linus on October 2 into v3.7-rc1 via the hid tree.
>
> I have used the v4l-dvb tree from next-20121026 for today.

The question is in which form you want the patch - as a separate patch or
a new version of commit c003ab1bedf0 (i.e. the entire patch)? Also, against
which tree should I create the patch?

2012-10-29 08:43:41

by Jiri Kosina

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the v4l-dvb tree

On Mon, 29 Oct 2012, David Härdeman wrote:

> > allmodconfig) failed like this:
> >
> > drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> > drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared
> > (first use in this function)
>
> I can fix it, should be easy (rename RC_TYPE_ALL to RC_BIT_ALL).
>
> > Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines
> for
> > protocol bitmaps and numbers"). The new reference was introduced in
> > commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> > merged by Linus on October 2 into v3.7-rc1 via the hid tree.
> >
> > I have used the v4l-dvb tree from next-20121026 for today.
>
> The question is in which form you want the patch - as a separate patch or
> a new version of commit c003ab1bedf0 (i.e. the entire patch)? Also, against
> which tree should I create the patch?

I am not able to see c003ab1bedf0 in repo at

git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git

so I am not entirely sure what's happening, but I guess that you have just
changed the define for RC_TYPE_ALL and updated all the drivers under
drivers/media to use the new name. So please do so for
drivers/hid/hid-picolcd_cir.c the same way.

Thanks,

--
Jiri Kosina
SUSE Labs

2012-10-29 09:53:23

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the v4l-dvb tree

Em Mon, 29 Oct 2012 09:09:13 +0100
David Härdeman <[email protected]> escreveu:

> On Mon, 29 Oct 2012 11:14:03 +1100, Stephen Rothwell
> <[email protected]>
> wrote:
> > Hi Mauro,
> >
> > After merging the v4l-dvb tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> > drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared
> > (first use in this function)
>
> I can fix it, should be easy (rename RC_TYPE_ALL to RC_BIT_ALL).
>
> > Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines
> for
> > protocol bitmaps and numbers"). The new reference was introduced in
> > commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> > merged by Linus on October 2 into v3.7-rc1 via the hid tree.
> >
> > I have used the v4l-dvb tree from next-20121026 for today.
>
> The question is in which form you want the patch - as a separate patch or
> a new version of commit c003ab1bedf0 (i.e. the entire patch)? Also, against
> which tree should I create the patch?

Please do it as a separate patch against linux-media.git. As the original
patch was already merging there, and we don't rebase the tree, there's
not much option.

Regards,
Mauro

2012-11-05 00:34:27

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the v4l-dvb tree

Hi Mauro,

On Mon, 29 Oct 2012 11:14:03 +1100 Stephen Rothwell <[email protected]> wrote:
>
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared (first use in this function)
>
> Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines for
> protocol bitmaps and numbers"). The new reference was introduced in
> commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> merged by Linus on October 2 into v3.7-rc1 via the hid tree.
>
> I have used the v4l-dvb tree from next-20121026 for today.

I still get this today.
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (806.00 B)
(No filename) (836.00 B)
Download all attachments

2012-11-06 01:26:45

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the v4l-dvb tree

Hi Stephen,

Em Mon, 5 Nov 2012 11:34:09 +1100
Stephen Rothwell <[email protected]> escreveu:

> Hi Mauro,
>
> On Mon, 29 Oct 2012 11:14:03 +1100 Stephen Rothwell <[email protected]> wrote:
> >
> > After merging the v4l-dvb tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> > drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared (first use in this function)
> >
> > Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines for
> > protocol bitmaps and numbers"). The new reference was introduced in
> > commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> > merged by Linus on October 2 into v3.7-rc1 via the hid tree.
> >
> > I have used the v4l-dvb tree from next-20121026 for today.
>
> I still get this today.

Not sure what happened, as I think I pushed it on my -next tree. I'm abroad
this week for LinuxCon Europe. Unfortunately, hotel's network blocks almost all
TCP ports, except for web ports. I'm seeing if this can be fixed tomorrow.
If so, I'll be pushing the patches tomorrow night.

Cheers,
Mauro