mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
ice: ice_aq_check_events: fix off-by-one check when filling buffer
[ Upstream commite1e8a142c4] Allow task's event buffer to be filled also in the case that it's size is exactly the size of the message. Fixes:d69ea414c9("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0f50641222
commit
841d2fffd0
1 changed files with 7 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue