objtool: Fix seg fault caused by missing parameter
authorSimon Ser <[email protected]>
Sat, 30 Dec 2017 20:43:31 +0000 (14:43 -0600)
committerIngo Molnar <[email protected]>
Sat, 30 Dec 2017 21:04:17 +0000 (22:04 +0100)
commitd89e426499cf36b96161bd32970d6783f1fbcb0e
tree95b0a0b10ac5855cde835a98655c3b1e54961a1b
parente7e83dd3ff1dd2f9e60213f6eedc7e5b08192062
objtool: Fix seg fault caused by missing parameter

Fix a seg fault when no parameter is provided to 'objtool orc'.

Signed-off-by: Simon Ser <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/9172803ec7ebb72535bcd0b7f966ae96d515968e.1514666459.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
tools/objtool/builtin-orc.c