* [PATCH] tokenring/3c359.c: Fix error message when allocating tx_ring
@ 2008-11-23 20:22 Jirka Pirko
2008-11-24 22:48 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jirka Pirko @ 2008-11-23 20:22 UTC (permalink / raw)
To: linux-kernel; +Cc: jgarzik, netdev, davem
Pointed out by Joe Perches. Error message after tx_ring allocation check was
wrong.
Signed-off-by: Jirka Pirko <jirka@jirka.pirko.cz>
---
drivers/net/tokenring/3c359.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c
index f832f9b..46fb308 100644
--- a/drivers/net/tokenring/3c359.c
+++ b/drivers/net/tokenring/3c359.c
@@ -638,7 +638,7 @@ static int xl_open(struct net_device *dev)
/* These MUST be on 8 byte boundaries */
xl_priv->xl_tx_ring = kzalloc((sizeof(struct xl_tx_desc) * XL_TX_RING_SIZE) + 7, GFP_DMA | GFP_KERNEL);
if (xl_priv->xl_tx_ring == NULL) {
- printk(KERN_WARNING "%s: Not enough memory to allocate rx buffers.\n",
+ printk(KERN_WARNING "%s: Not enough memory to allocate tx buffers.\n",
dev->name);
free_irq(dev->irq,dev);
return -ENOMEM;
--
1.5.4.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tokenring/3c359.c: Fix error message when allocating tx_ring
2008-11-23 20:22 [PATCH] tokenring/3c359.c: Fix error message when allocating tx_ring Jirka Pirko
@ 2008-11-24 22:48 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-11-24 22:48 UTC (permalink / raw)
To: jirka; +Cc: linux-kernel, jgarzik, netdev
From: Jirka Pirko <jirka@pirko.cz>
Date: Sun, 23 Nov 2008 21:22:22 +0100
> Pointed out by Joe Perches. Error message after tx_ring allocation check was
> wrong.
>
> Signed-off-by: Jirka Pirko <jirka@jirka.pirko.cz>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-24 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-23 20:22 [PATCH] tokenring/3c359.c: Fix error message when allocating tx_ring Jirka Pirko
2008-11-24 22:48 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®