Skip to content
Snippets Groups Projects
  • Vivek Goyal's avatar
    f8da964d
    kexec-bzimage64: fix sparse warnings · f8da964d
    Vivek Goyal authored
    
    David Howells brought to my attention the mails generated by kbuild test
    bot and following sparse warnings were present.  This patch fixes these
    warnings.
    
      arch/x86/kernel/kexec-bzimage64.c:270:5: warning: symbol 'bzImage64_probe' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:328:6: warning: symbol 'bzImage64_load' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:517:5: warning: symbol 'bzImage64_cleanup' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:531:5: warning: symbol 'bzImage64_verify_sig' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:546:23: warning: symbol 'kexec_bzImage64_ops' was not declared. Should it be static?
    
    Signed-off-by: default avatarVivek Goyal <vgoyal@redhat.com>
    Reported-by: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    f8da964d
    History
    kexec-bzimage64: fix sparse warnings
    Vivek Goyal authored
    
    David Howells brought to my attention the mails generated by kbuild test
    bot and following sparse warnings were present.  This patch fixes these
    warnings.
    
      arch/x86/kernel/kexec-bzimage64.c:270:5: warning: symbol 'bzImage64_probe' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:328:6: warning: symbol 'bzImage64_load' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:517:5: warning: symbol 'bzImage64_cleanup' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:531:5: warning: symbol 'bzImage64_verify_sig' was not declared. Should it be static?
      arch/x86/kernel/kexec-bzimage64.c:546:23: warning: symbol 'kexec_bzImage64_ops' was not declared. Should it be static?
    
    Signed-off-by: default avatarVivek Goyal <vgoyal@redhat.com>
    Reported-by: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
m68k NaN GiB