Re: [linux-usb-devel] drivers/usb/gadget/dummy_hcd.c - DEBUG redefinedwarnings

From: Alan Stern
Date: Mon Jul 30 2007 - 13:38:50 EST


On Mon, 30 Jul 2007, Gabriel C wrote:

> Hi,
>
> I noticed the following warnings with a randconfig ( http://194.231.229.228/git-current/randconfig-auto-34 ):
>
> ...
>
> CC [M] drivers/usb/gadget/dummy_hcd.o
> drivers/usb/gadget/dummy_hcd.c:37:1: warning: "DEBUG" redefined
> <command-line>: warning: this is the location of the previous definition
> CC drivers/scsi/scsi_transport_sas.o
> CC drivers/usb/core/notify.o
> CC drivers/usb/core/generic.o
> drivers/usb/gadget/dummy_hcd.c:37:1: warning: "DEBUG" redefined
> <command-line>: warning: this is the location of the previous definition
>
> ...
>
>
> Line 37 is #define DEBUG , is that really needed ?

No it isn't -- that's a mistake. Thanks for pointing it out.

Alan Stern

-
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/