Re: Bug in patch "x86/pti: Add the pti= cmdline option and documentation"

From: Thomas Gleixner
Date: Fri Dec 22 2017 - 11:44:05 EST


On Fri, 22 Dec 2017, Juergen Gross wrote:

> The patch in the tip tree with commit 506bcdf68b07a0335751e1fe8be37
> ("x86/pti: Add the pti= cmdline option and documentation") is completely
> wrong: cmdline_find_option() will return -1 in case the otion isn't
> found and the len of the argument in case it has been found.

AArgh .....