Skip to content
Commit 6ec829a9 authored by Tommy Nguyen's avatar Tommy Nguyen Committed by Ingo Molnar
Browse files

x86/boot: Add missing strchr() declaration



The Sparse static analyzer emits this warning:

    symbol 'strchr' was not declared. Should it be static?

This patch adds the appropriate extern declaration to string.h
to fix the warning.

Signed-off-by: default avatarTommy Nguyen <remyabel@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170623143601.GA20743@NoChina


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 94a6df25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment