From: Benny Halevy Date: Mon, 30 Jun 2008 16:59:14 +0000 (+0300) Subject: dlm: fix uninitialized variable for search_rsb_list callers X-Git-Tag: v2.6.27-rc1~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c60c0a3b16fc7d6a55497a228602ad8509f838;p=pandora-kernel.git dlm: fix uninitialized variable for search_rsb_list callers gcc 4.3.0 correctly emits the following warning. search_rsb_list does not *r_ret if no dlm_rsb is found and _search_rsb may pass the uninitialized value upstream on the error path when both calls to search_rsb_list return non-zero error. The fix sets *r_ret to NULL on search_rsb_list's not-found path. Signed-off-by: Benny Halevy Signed-off-by: David Teigland --- Reading git-diff-tree failed