Re: [PATCH] checkpatch: fix use via symlink, make missing spelling file non-fatal

From: Kees Cook
Date: Thu Oct 23 2014 - 14:52:30 EST


On Thu, Oct 23, 2014 at 10:29 AM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> Commit 66b47b4a9dad ("checkpatch: look for common misspellings")
> made it difficult to use checkpatch via a symlink.
>
> Fix that and make a missing spelling.txt file non-fatal.
> Emit a warning when the spelling.txt file can not be opened.
>
> Reference: http://xkcd.com/1172/
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> Reported-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> Tested-by: Jani Nikula <jani.nikula@xxxxxxxxx>

Thanks for fixing this. :)

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

-Kees

--
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/