From: Jason Wessel Date: Mon, 11 Oct 2010 15:20:14 +0000 (-0500) Subject: kdb: Fix oops in kdb_unregister X-Git-Tag: v2.6.37-rc1~153^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75d14edee5689716b55afe467acfc13206a31f95;p=pandora-kernel.git kdb: Fix oops in kdb_unregister Nothing should try to use kdb_commands directly as sometimes it is null. Instead, use the for_each_kdbcmd() iterator. This particular problem dates back to the initial kdb merge (2.6.35), but at that point nothing was dynamically unregistering commands from the kdb shell. Signed-off-by: Jason Wessel --- Reading git-diff-tree failed