From: Merav Sicron Date: Sun, 23 Sep 2012 03:12:23 +0000 (+0000) Subject: bnx2x: Improve code around bnx2x_tests_str_arr X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5889335c506bc50b03266251ac3c8711b674ba7a;p=pandora-kernel.git bnx2x: Improve code around bnx2x_tests_str_arr This patch changes the definition of bnx2x_tests_str_arr from static char pointer to static const char bi-directional array. Also the bnx2x_get_strings function is simplified. Reported-by: Joe Perches Reported-by: David Laight Signed-off-by: Merav Sicron Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed