projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cf3af
)
bnx2x: fix inverted condition
author
Dmitry Kravkov
<dmitry@broadcom.com>
Tue, 24 May 2011 02:06:06 +0000
(
02:06
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 May 2011 17:26:12 +0000
(13:26 -0400)
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_cmn.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x/bnx2x_cmn.c
b/drivers/net/bnx2x/bnx2x_cmn.c
index
d5bd35b
..
2890443
100644
(file)
--- a/
drivers/net/bnx2x/bnx2x_cmn.c
+++ b/
drivers/net/bnx2x/bnx2x_cmn.c
@@
-2675,7
+2675,7
@@
alloc_mem_err:
* Min size diferent for TPA and non-TPA queues
*/
if (ring_size < (fp->disable_tpa ?
- MIN_RX_SIZE_
TPA : MIN_RX_SIZE_NON
TPA)) {
+ MIN_RX_SIZE_
NONTPA : MIN_RX_SIZE_
TPA)) {
/* release memory allocated for this queue */
bnx2x_free_fp_mem_at(bp, index);
return -ENOMEM;