From: Jim Cromie Date: Thu, 3 May 2012 17:57:37 +0000 (-0600) Subject: params.c: fix Smack complaint about parse_args X-Git-Tag: v3.5-rc1~147^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ef9eaf2bf8901e92bb931875a5621692c8a0b84;p=pandora-kernel.git params.c: fix Smack complaint about parse_args In commit 9fb48c744: "params: add 3rd arg to option handler callback signature", the if-guard added to the pr_debug was overzealous; no callers pass NULL, and existing code above and below the guard assumes as much. Change the if-guard to match, and silence the Smack complaint. CC: Dan Carpenter Signed-off-by: Jim Cromie Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed