aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2023-12-06 01:01:13 +0000
committerTony Nguyen <[email protected]>2023-12-18 19:20:43 +0000
commit316a28daa805b553d11499d0436ebd87529e9189 (patch)
tree24c7a4c86db58594c44fbe2bbd3871635124e7d1 /drivers/net/ethernet/intel/ice/ice_main.c
parentice: field get conversion (diff)
downloadkernel-316a28daa805b553d11499d0436ebd87529e9189.tar.gz
kernel-316a28daa805b553d11499d0436ebd87529e9189.zip
ice: cleanup inconsistent code
It was found while doing further testing of the previous commit fbf32a9bab91 ("ice: field get conversion") that one of the FIELD_GET conversions should really be a FIELD_PREP. The previous code was styled as a match to the FIELD_GET conversion, which always worked because the shift value was 0. The code makes way more sense as a FIELD_PREP and was in fact the only FIELD_GET with two constant arguments in this series. Didn't squash this patch to make it easier to call out the (non-impactful) bug. Signed-off-by: Jesse Brandeburg <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions