summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDavid Thompson <davthompson@nvidia.com>2025-03-18 17:47:47 -0400
committerBorislav Petkov (AMD) <bp@alien8.de>2025-05-22 17:58:28 +0200
commitea3b0b7f541b9511abe2b89547c95458804f38e2 (patch)
treef0fbfedc445ac95d69dd9c24a55382acf72d42da /scripts/patch-kernel
parent2b2408aca90b86c1ef51c19d834e5f6db0a1ff30 (diff)
EDAC/bluefield: Don't use bluefield_edac_readl() result on error
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: e41967575474 ("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
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions