Skip to content
Commit 815fad6e authored by Tom Rix's avatar Tom Rix Committed by Borislav Petkov
Browse files

EDAC/ghes: Change ghes_hw from global to static



Smatch reports this issue
  ghes_edac.c:44:3: warning: symbol 'ghes_hw' was not declared. Should it be static?

ghes_hw is used only in ghes_edac.c so change its storage-class
specifier to static.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220421135319.1508754-1-trix@redhat.com
parent 2f58783c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment