regression: checkpatch.pl fails when called via symlink

From: Jani Nikula
Date: Wed Oct 22 2014 - 06:44:13 EST



Since commit 66b47b4a9dad00e45c049d79966de9a3a1f4d337
Author: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Mon Oct 13 15:51:57 2014 -0700

checkpatch: look for common misspellings

checkpatch.pl dies with

checkpatch.pl: Can't open /path/to/spelling.txt for reading: No such file or directory

if it's called through a symlink in /path/to/checkpatch.pl pointing at
the actual script.

Please fail graciously, and just ignore spelling if you can't find
spelling.txt. Or better yet, follow the links if you can.


Thanks,
Jani.


--
Jani Nikula, Intel Open Source Technology Center
--
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/