From: Mathias Krause Date: Wed, 6 Aug 2014 23:09:31 +0000 (-0700) Subject: lib/string_helpers.c: constify static arrays X-Git-Tag: cleanup-for-v3.18~96^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=142cda5dbcb0dc3738c079f591290d6384261c73;p=pandora-kernel.git lib/string_helpers.c: constify static arrays Complement commit 68aecfb97978 ("lib/string_helpers.c: make arrays static") by making the arrays const -- not only pointing to const strings. This moves them out of the data section to the r/o data section: text data bss dec hex filename 1150 176 0 1326 52e lib/string_helpers.old.o 1326 0 0 1326 52e lib/string_helpers.new.o Signed-off-by: Mathias Krause Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed