public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/usb/gadget/dummy_hcd.c - DEBUG redefined warnings
@ 2007-07-30 16:59 Gabriel C
  2007-07-30 17:38 ` [linux-usb-devel] " Alan Stern
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel C @ 2007-07-30 16:59 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: dbrownell, linux-usb-devel, Alan Stern

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 ?



Regards,

Gabriel C

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

* Re: [linux-usb-devel] drivers/usb/gadget/dummy_hcd.c - DEBUG redefined warnings
  2007-07-30 16:59 drivers/usb/gadget/dummy_hcd.c - DEBUG redefined warnings Gabriel C
@ 2007-07-30 17:38 ` Alan Stern
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Stern @ 2007-07-30 17:38 UTC (permalink / raw)
  To: Gabriel C; +Cc: Linux Kernel Mailing List, dbrownell, linux-usb-devel

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


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

end of thread, other threads:[~2007-07-30 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 16:59 drivers/usb/gadget/dummy_hcd.c - DEBUG redefined warnings Gabriel C
2007-07-30 17:38 ` [linux-usb-devel] " Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox