projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1384f3b
)
uli526x: drop newlines from device name
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 10 Jun 2010 02:14:21 +0000
(22:14 -0400)
committer
Ben Warren
<biggerbadderben@gmail.com>
Mon, 12 Jul 2010 07:14:28 +0000
(
00:14
-0700)
Device names should not contain non-printable characters like newlines.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/uli526x.c
patch
|
blob
|
history
diff --git
a/drivers/net/uli526x.c
b/drivers/net/uli526x.c
index 9477851a75e0d3253055654ac26af36bca117504..56eee7bee60551e4147f0f4a0c3557e0eeb6ef3b 100644
(file)
--- a/
drivers/net/uli526x.c
+++ b/
drivers/net/uli526x.c
@@
-225,7
+225,7
@@
int uli526x_initialize(bd_t *bis)
iobase &= ~0xf;
dev = (struct eth_device *)malloc(sizeof *dev);
- sprintf(dev->name, "uli526x#%d
\n
", card_number);
+ sprintf(dev->name, "uli526x#%d", card_number);
db = (struct uli526x_board_info *)
malloc(sizeof(struct uli526x_board_info));