Skip to content

staging: qlge: Fix compilation failures in qlge_dbg.c when QL_DEV_DUMP is set

Rylan Dmello lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: qlge: Remove unnecessary parentheses around struct fielddrivers/staging/qlge/qlge_dbg.c+1 -11 reply
2/3staging: qlge: Remove print statement for vlgrp fielddrivers/staging/qlge/qlge_dbg.c+0 -11 reply
3/3staging: qlge: Remove print statements for lbq_clean_idx and lbq_free_cntdrivers/staging/qlge/qlge_dbg.c+0 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] staging: qlge: Fix compilation failures in qlge_dbg.c when QL_DEV_DUMP is set

qlge_dbg.c has a bunch of code that is conditionally compiled only when the QL_DEV_DUMP macro is set in qlge.h (it is unset by default).

Several fields have been removed from the 'ql_adapter' and 'rx_ring' structs in qlge.h so that qlge_dbg.c no longer compiles when QL_DEV_DUMP is set.

This patchset updates qlge_dbg.c so that compiles successfully when QL_DEV_DUMP is set.

Rylan Dmello (3):
staging: qlge: Remove unnecessary parentheses around struct field
staging: qlge: Remove print statement for vlgrp field.
staging: qlge: Remove print statements for lbq_clean_idx and
lbq_free_cnt

 drivers/staging/qlge/qlge_dbg.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Signature · 1 line
2.26.2