WARNING: Argument 'hw' is not used in function-like macro #115: FILE: drivers/net/ethernet/intel/ice/ice_osdep.h:46: +#define _ice_debug_array(hw, type, prefix, rowsize, groupsize, buf, len) \ + print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, \ + rowsize, groupsize, buf, len, false) WARNING: Argument 'prefix' is not used in function-like macro #139: FILE: drivers/net/ethernet/intel/ice/ice_osdep.h:65: +#define _ice_debug_array(hw, type, prefix, rowsize, groupsize, buf, len) \ do { \ struct ice_hw *hw_l = hw; \ if ((type) & (hw_l)->debug_mask) { \ WARNING: Argument 'rowsize' is not used in function-like macro #139: FILE: drivers/net/ethernet/intel/ice/ice_osdep.h:65: +#define _ice_debug_array(hw, type, prefix, rowsize, groupsize, buf, len) \ do { \ struct ice_hw *hw_l = hw; \ if ((type) & (hw_l)->debug_mask) { \ WARNING: Argument 'groupsize' is not used in function-like macro #139: FILE: drivers/net/ethernet/intel/ice/ice_osdep.h:65: +#define _ice_debug_array(hw, type, prefix, rowsize, groupsize, buf, len) \ do { \ struct ice_hw *hw_l = hw; \ if ((type) & (hw_l)->debug_mask) { \ WARNING: Argument 'buf' is not used in function-like macro #139: FILE: drivers/net/ethernet/intel/ice/ice_osdep.h:65: +#define _ice_debug_array(hw, type, prefix, rowsize, groupsize, buf, len) \ do { \ struct ice_hw *hw_l = hw; \ if ((type) & (hw_l)->debug_mask) { \ WARNING: Argument 'len' is not used in function-like macro #139: FILE: drivers/net/ethernet/intel/ice/ice_osdep.h:65: +#define _ice_debug_array(hw, type, prefix, rowsize, groupsize, buf, len) \ do { \ struct ice_hw *hw_l = hw; \ if ((type) & (hw_l)->debug_mask) { \ total: 0 errors, 6 warnings, 0 checks, 84 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 3b78b87ab0c0 ("ice: stop intermixing AQ commands/responses debug dumps") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 6 warnings, 0 checks, 84 lines checked