]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
EDAC/ghes: Change ghes_hw from global to static
authorTom Rix <trix@redhat.com>
Thu, 21 Apr 2022 13:53:19 +0000 (09:53 -0400)
committerBorislav Petkov <bp@suse.de>
Fri, 29 Apr 2022 09:23:09 +0000 (11:23 +0200)
commit815fad6e4f9c7dcd3336b989d84ee02fd912d29e
tree66e24063566273d0b301b200693f058720f07d2e
parent2f58783c5d8882273eb0c872d19bb89954d466e8
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: Tom Rix <trix@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220421135319.1508754-1-trix@redhat.com
drivers/edac/ghes_edac.c