From: Rusty Russell Date: Fri, 2 May 2008 02:14:59 +0000 (-0500) Subject: module: neaten __find_symbol, rename to find_symbol X-Git-Tag: v2.6.26-rc1~23^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9546c9917d44eddc7676b639296d624cee455e;p=pandora-kernel.git module: neaten __find_symbol, rename to find_symbol __find_symbol() has grown over time: there are now 5 different arrays of symbols it traverses. It also shouldn't print out a warning on some calls (ie. verify_symbol which simply checks for name clashes, and __symbol_put which checks for bugs). 1) Rename to find_symbol: no need for underscores. 2) Use bool and add "warn" parameter to suppress warnings. 3) Make table-driven rather than open coded. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed