From: Joe Perches Date: Wed, 10 Dec 2014 23:51:43 +0000 (-0800) Subject: checkpatch: fix use via symlink, make missing spelling file non-fatal X-Git-Tag: omap-for-v3.20/drop-legacy-3517~139^2~78 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36061e380618201a558e01d2c2ac6217ea331523;p=pandora-kernel.git checkpatch: fix use via symlink, make missing spelling file non-fatal 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 Reported-by: Jani Nikula Tested-by: Jani Nikula Reviewed-by: Kees Cook Acked-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed