git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cxgb4: Use ntohs() on __be16 value instead of htons()
[pandora-kernel.git]
/
drivers
/
net
/
cxgb4
/
sge.c
diff --git
a/drivers/net/cxgb4/sge.c
b/drivers/net/cxgb4/sge.c
index
14adc58
..
70bf2b2
100644
(file)
--- a/
drivers/net/cxgb4/sge.c
+++ b/
drivers/net/cxgb4/sge.c
@@
-2047,7
+2047,7
@@
int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,
adap->sge.ingr_map[iq->cntxt_id] = iq;
if (fl) {
- fl->cntxt_id =
hton
s(c.fl0id);
+ fl->cntxt_id =
ntoh
s(c.fl0id);
fl->avail = fl->pend_cred = 0;
fl->pidx = fl->cidx = 0;
fl->alloc_failed = fl->large_alloc_failed = fl->starving = 0;