Re: drivers/usb/usb-skeleton.c:117:3: error: label âout_err âused but not define

From: Greg Kroah-Hartman
Date: Sat Nov 17 2012 - 22:52:53 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/