]> git.baikalelectronics.ru Git - kernel.git/commit
ice: use more accurate ICE_DBG mask types
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 6 Nov 2019 10:05:40 +0000 (02:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Nov 2019 20:03:15 +0000 (12:03 -0800)
commit5dc32c4c92da769950786e34830cc0d930e9232a
tree6c271c557f293008a8d43fdbde95041ecdf41fa6
parentc1ba763ccca2e9b551aa695c7dd6257e16de4917
ice: use more accurate ICE_DBG mask types

ice_debug_cq is passed a mask which is always ICE_DBG_AQ_CMD. Modify this
function, removing the mask parameter entirely, and directly use the more
appropriate ICE_DBG_AQ_DESC and ICE_DBG_AQ_DESC_BUF.

The function is only called from ice_controlq.c, and has no
other callers outside of that file. Move it and mark it static to avoid
namespace pollution.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_controlq.c
drivers/net/ethernet/intel/ice/ice_type.h