From: Rasmus Villemoes Date: Wed, 15 Apr 2015 23:17:08 +0000 (-0700) Subject: lib/vsprintf.c: eliminate duplicate hex string array X-Git-Tag: omap-for-v4.1/fixes-rc1~128^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea8d440a86b85c63c2bb7f73988626e682db5f0;p=pandora-kernel.git lib/vsprintf.c: eliminate duplicate hex string array gcc doesn't merge or overlap const char[] objects with identical contents (probably language lawyers would also insist that these things have different addresses), but there's no reason to have the string "0123456789ABCDEF" occur in multiple places. hex_asc_upper is declared in kernel.h and defined in lib/hexdump.c, which is unconditionally compiled in. Signed-off-by: Rasmus Villemoes Cc: Peter Zijlstra Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed