Files
linux/drivers/edac
David Thompson 04d39b014f EDAC/bluefield: Don't use bluefield_edac_readl() result on error
[ Upstream commit ea3b0b7f54 ]

The bluefield_edac_readl() routine returns an uninitialized result on error
paths. In those cases the calling routine should not use the uninitialized
result. The driver should simply log the error, and then return early.

Fixes: e419675754 ("EDAC/bluefield: Use Arm SMC for EMI access on BlueField-2")
Signed-off-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Link: https://lore.kernel.org/20250318214747.12271-1-davthompson@nvidia.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:39:27 +02:00
..
2024-12-15 22:17:34 +01:00
2024-12-15 22:17:34 +01:00
2024-03-27 18:26:58 +01:00
2024-12-15 22:17:34 +01:00
2025-02-25 15:39:09 +01:00