All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define
@ 2012-11-18  1:34 Thiago Farina
  2012-11-18  3:41 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Thiago Farina @ 2012-11-18  1:34 UTC (permalink / raw)
  To: linux list; +Cc: Greg Kroah-Hartman, tom.leiming

Hi,

When compiling this source file with the following command line I get
this error:

$ make drivers/usb/usb-skeleton.o
drivers/usb/usb-skeleton.c: In function ‘skel_open’:
drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not defined
make[1]: *** [drivers/usb/usb-skeleton.o] Error 1
make: *** [drivers/usb/usb-skeleton.o] Error 2

Is this intentional? If not, what would be the right fix?

Thank you,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define
  2012-11-18  1:34 drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define Thiago Farina
@ 2012-11-18  3:41 ` Greg Kroah-Hartman
  2012-11-18 14:06   ` Thiago Farina
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2012-11-18  3:41 UTC (permalink / raw)
  To: Thiago Farina; +Cc: linux list, tom.leiming

On Sat, Nov 17, 2012 at 11:34:19PM -0200, Thiago Farina wrote:
> Hi,
> 
> When compiling this source file with the following command line I get
> this error:

What kernel version are you building?

> $ make drivers/usb/usb-skeleton.o
> drivers/usb/usb-skeleton.c: In function ‘skel_open’:
> drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not defined
> make[1]: *** [drivers/usb/usb-skeleton.o] Error 1
> make: *** [drivers/usb/usb-skeleton.o] Error 2
> 
> Is this intentional?

No :)

> If not, what would be the right fix?

Properly define out_err.

I thought this all got fixed up recently, what kernel version are you
looking at?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define
  2012-11-18  3:41 ` Greg Kroah-Hartman
@ 2012-11-18 14:06   ` Thiago Farina
  2012-11-21 21:31     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Thiago Farina @ 2012-11-18 14:06 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux list, tom.leiming

On Sun, Nov 18, 2012 at 1:41 AM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>> If not, what would be the right fix?
>
> Properly define out_err.
>
> I thought this all got fixed up recently, what kernel version are you
> looking at?
>
That might explain why I'm seeing this.

Because I'm building the kernel I checked out from
git://github.com/torvalds/linux.git, currently at commit f4a75d2e
(Linux 3.7-rc6).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define
  2012-11-18 14:06   ` Thiago Farina
@ 2012-11-21 21:31     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2012-11-21 21:31 UTC (permalink / raw)
  To: Thiago Farina; +Cc: linux list, tom.leiming

On Sun, Nov 18, 2012 at 12:06:31PM -0200, Thiago Farina wrote:
> On Sun, Nov 18, 2012 at 1:41 AM, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >> If not, what would be the right fix?
> >
> > Properly define out_err.
> >
> > I thought this all got fixed up recently, what kernel version are you
> > looking at?
> >
> That might explain why I'm seeing this.
> 
> Because I'm building the kernel I checked out from
> git://github.com/torvalds/linux.git, currently at commit f4a75d2e
> (Linux 3.7-rc6).

Yes, this fixed up in linux-next (just checked it), and will be resolved
in 3.8-rc1.

sorry about that.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-22 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-18  1:34 drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define Thiago Farina
2012-11-18  3:41 ` Greg Kroah-Hartman
2012-11-18 14:06   ` Thiago Farina
2012-11-21 21:31     ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.