summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice.h
diff options
context:
space:
mode:
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>2023-08-08 17:54:15 -0400
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-08-17 13:59:46 -0700
commite1e8a142c43336e3d25bfa1cb3a4ae7d00875c48 (patch)
tree017a1a8bb05696552655b649634ce4fa567d7926 /drivers/net/ethernet/intel/ice/ice.h
parent52da2fb2693a7525fc3a0474978b4441ee272492 (diff)
downloadlinux-e1e8a142c43336e3d25bfa1cb3a4ae7d00875c48.tar.gz
linux-e1e8a142c43336e3d25bfa1cb3a4ae7d00875c48.tar.bz2
linux-e1e8a142c43336e3d25bfa1cb3a4ae7d00875c48.zip
ice: ice_aq_check_events: fix off-by-one check when filling buffer
Allow task's event buffer to be filled also in the case that it's size is exactly the size of the message. Fixes: d69ea414c9b4 ("ice: implement device flash update via devlink") Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
0 files changed, 0 insertions, 0 deletions