Skip to content

Commit 6b1cc94

Browse files
Zhengyi ShenKAGA-KOKO
authored andcommitted
x86/boot: Include missing header file
Sparse complains about missing forward declarations: arch/x86/boot/compressed/error.c:8:6: warning: symbol 'warn' was not declared. Should it be static? arch/x86/boot/compressed/error.c:15:6: warning: symbol 'error' was not declared. Should it be static? Include the missing header file. Signed-off-by: Zhengyi Shen <shenzhengyi@gmail.com> Acked-by: Kess Cook <keescook@chromium.org> Link: http://lkml.kernel.org/r/1490770820-24472-1-git-send-email-shenzhengyi@gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 29f72ce commit 6b1cc94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/boot/compressed/error.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* memcpy() and memmove() are defined for the compressed boot environment.
55
*/
66
#include "misc.h"
7+
#include "error.h"
78

89
void warn(char *m)
910
{

0 commit comments

Comments
 (0)