aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorValdis Klētnieks <valdis.kletnieks@vt.edu>2019-08-07 23:27:17 -0400
committerThomas Gleixner <tglx@linutronix.de>2019-08-08 08:25:53 +0200
commit04f5bda84b0712d6f172556a7e8dca9ded5e73b9 (patch)
tree10df96c205b75d4f426ee9ffc10b9399c4746f9e /Makefile
parentb059f801a937d164e03b33c1848bb3dca67c0b04 (diff)
x86/lib/cpu: Address missing prototypes warning
When building with W=1, warnings about missing prototypes are emitted: CC arch/x86/lib/cpu.o arch/x86/lib/cpu.c:5:14: warning: no previous prototype for 'x86_family' [-Wmissing-prototypes] 5 | unsigned int x86_family(unsigned int sig) | ^~~~~~~~~~ arch/x86/lib/cpu.c:18:14: warning: no previous prototype for 'x86_model' [-Wmissing-prototypes] 18 | unsigned int x86_model(unsigned int sig) | ^~~~~~~~~ arch/x86/lib/cpu.c:33:14: warning: no previous prototype for 'x86_stepping' [-Wmissing-prototypes] 33 | unsigned int x86_stepping(unsigned int sig) | ^~~~~~~~~~~~ Add the proper include file so the prototypes are there. Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/42513.1565234837@turing-police
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions

Privacy Policy