From: Florian Vaussard Date: Thu, 3 Apr 2014 21:49:25 +0000 (-0700) Subject: checkpatch: fix spurious vendor compatible warnings X-Git-Tag: v3.15-rc1~106^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fbf32a69346afc87ac1ddceb92c860d644433f9;p=pandora-kernel.git checkpatch: fix spurious vendor compatible warnings With a compatible string like compatible = "foo"; checkpatch will currently try to find "foo" in vendor-prefixes.txt, which is wrong since the vendor prefix is empty in this specific case. Skip the vendor test if the compatible is not like compatible = "vendor,something"; Signed-off-by: Florian Vaussard Cc: Joe Perches Acked-by: Rob Herring Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed