[#4591] net2272 redefines standard macros like "WARN"
Submitted By: Mike Frysinger
2008-11-01 17:22:37 Close Date
Closed Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: net2272 redefines standard macros like "WARN"
not sure how much we care since we didnt write this driver, but it redefines a lot of common macros like WARN:
In file included from drivers/usb/gadget/net2272.c:126:
drivers/usb/gadget/net2272.h:517:1: warning: "WARN" redefined
In file included from /usr/local/src/blackfin/svn/linux-kernel/upstream/git/svn-trunk/arch/blackfin/include/asm/bug.h:15,
include/asm-generic/bug.h:57:1: warning: this is the location of the previous definition
--- Michael Hennerich 2009-04-15 04:26:29
I fixed this bug recently.
Modified: trunk/drivers/usb/gadget/net2272.h (6203 => 6204)
Modified: trunk/drivers/usb/gadget/net2272.c (6203 => 6204)
[#4929] ethernet gadget don't work on 537 with a USB-LAN extender
Fix usb_gadget_register_driver don't test for unbind.
Unbind is declared __exit_p(f) which defaults to NULL if not MODULE
Fix compile warnings - WARN redefined
Use board defines to workaround board issues rather than processor
Fix Kconfig indention
File Name File Type File Size Posted By
No Files Were Found