]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pds_core: check health in devcmd wait
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 14 Sep 2023 22:31:57 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 May 2025 07:43:58 +0000 (09:43 +0200)
commit5e51c0b51b25e4a21d6b52e34cddde76ebe8dea2
treece4ea2e1978501582cb53b68df5683322ae33e93
parent5ba9380f79f288c490e655ddaa3fddffa4072463
pds_core: check health in devcmd wait

[ Upstream commit f7b5bd725b737de3f2c4a836e07c82ba156d75df ]

Similar to what we do in the AdminQ, check for devcmd health
while waiting for an answer.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: dfd76010f8e8 ("pds_core: remove write-after-free of client_id")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/pds_core/dev.c
include/linux/pds/pds_core_if.h