diff options
author | Brett Creeley <brett.creeley@amd.com> | 2025-06-09 14:28:27 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-12 18:09:51 -0700 |
commit | 5466491c9e3309ed5c7adbb8fad6e93fcc9a8fe9 (patch) | |
tree | 9b8e32cc19839b5c1c24a90a6a18a3386c5f0490 /net/lapb/lapb_timer.c | |
parent | 27605c8c0f69e319df156b471974e4e223035378 (diff) |
ionic: Prevent driver/fw getting out of sync on devcmd(s)
Some stress/negative firmware testing around devcmd(s) returning
EAGAIN found that the done bit could get out of sync in the
firmware when it wasn't cleared in a retry case.
While here, change the type of the local done variable to a bool
to match the return type from ionic_dev_cmd_done().
Fixes: ec8ee714736e ("ionic: stretch heartbeat detection")
Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250609212827.53842-1-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions