diff options
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r-- | drivers/net/cxgb3/sge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index bc6a8dcb8cce..d3a6e245f1ef 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c | |||
@@ -2306,7 +2306,7 @@ next_fl: | |||
2306 | 2306 | ||
2307 | static inline int is_pure_response(const struct rsp_desc *r) | 2307 | static inline int is_pure_response(const struct rsp_desc *r) |
2308 | { | 2308 | { |
2309 | u32 n = ntohl(r->flags) & (F_RSPD_ASYNC_NOTIF | F_RSPD_IMM_DATA_VALID); | 2309 | __be32 n = r->flags & htonl(F_RSPD_ASYNC_NOTIF | F_RSPD_IMM_DATA_VALID); |
2310 | 2310 | ||
2311 | return (n | r->len_cq) == 0; | 2311 | return (n | r->len_cq) == 0; |
2312 | } | 2312 | } |