commit | 5889335c506bc50b03266251ac3c8711b674ba7a | [log] [tgz] |
---|---|---|
author | Merav Sicron <meravs@broadcom.com> | Sun Sep 23 03:12:23 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 24 15:46:44 2012 -0400 |
tree | 027181d2930ea6aa0c7ced685bb16f4caaf648d9 | |
parent | b8f37a4aa053c68836deca1ddeb509ce6f5ec0ae [diff] |
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 <joe@perches.com> Reported-by: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Merav Sicron <meravs@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>