From: Hannes Reinecke Date: Mon, 16 Apr 2012 13:06:25 +0000 (+0200) Subject: driver core: check start node in klist_iter_init_node X-Git-Tag: v3.5-rc1~147^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a15d49fd3094cff90e5410ca454a870e0a722fe1;p=pandora-kernel.git driver core: check start node in klist_iter_init_node klist_iter_init_node() takes a node as a start argument. However, this node might not be valid anymore. This patch updates the klist_iter_init_node() and dependent functions to return an error if so. All calling functions have been audited to check for a return code here. Signed-off-by: Hannes Reinecke Cc: Greg Kroah-Hartmann Cc: Kay Sievers Cc: Stable Kernel Cc: Linux Kernel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed