From: Joe Perches Date: Tue, 12 Nov 2013 23:10:10 +0000 (-0800) Subject: checkpatch: add rules to check init attribute and const defects X-Git-Tag: v3.13-rc1~106^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e970b8846ae4763e64be3c93dc06b4eaebf9ad63;p=pandora-kernel.git checkpatch: add rules to check init attribute and const defects People get this regularly wrong and it breaks the LTO builds, as it causes a section attribute conflict. Add --fix capability too. Based on a patch from Andi Kleen. Signed-off-by: Joe Perches Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed