aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/qlogic/qla3xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qla3xxx.c b/drivers/net/ethernet/qlogic/qla3xxx.c
index 8da3e41058ca..df09b1cb742f 100644
--- a/drivers/net/ethernet/qlogic/qla3xxx.c
+++ b/drivers/net/ethernet/qlogic/qla3xxx.c
@@ -2836,7 +2836,7 @@ static int ql_create_send_free_list(struct ql3_adapter *qdev)
2836 req_q_curr++; 2836 req_q_curr++;
2837 tx_cb->oal = kmalloc(512, GFP_KERNEL); 2837 tx_cb->oal = kmalloc(512, GFP_KERNEL);
2838 if (tx_cb->oal == NULL) 2838 if (tx_cb->oal == NULL)
2839 return -1; 2839 return -ENOMEM;
2840 } 2840 }
2841 return 0; 2841 return 0;
2842} 2842}