Skip to contentSkip to conversation

drivers/usb/gadget/dummy_hcd.c - DEBUG redefined warnings

DISCUSSION Gabriel C 2 participants 2 messages Jul 30, 2007

lore
Share & tools
lore

Gabriel C

author
#0 lore raw

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

#1 lore raw
Quoted 12 lines · Gabriel C

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
Quoted 7 lines

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