[#4591] net2272 redefines standard macros like "WARN"
Submitted By: Mike Frysinger
Open Date
2008-11-01 17:22:37 Close Date
2009-04-15 04:26:29
Priority:
Low Assignee:
Michael Hennerich
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
N/A
Uboot version or rev.:
Toolchain version or rev.:
any
App binary format:
N/A
Summary: net2272 redefines standard macros like "WARN"
Details:
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,
from include/linux/kernel.h:21,
from include/linux/delay.h:10,
from drivers/usb/gadget/net2272.c:21:
include/asm-generic/bug.h:57:1: warning: this is the location of the previous definition
Follow-ups
--- 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
defines.
Fix Kconfig indention
[#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
defines.
Fix Kconfig indention
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found