Re: [PATCH] driver core: check start node in klist_iter_init_node

From: Greg Kroah-Hartmann
Date: Tue May 08 2012 - 19:02:12 EST


On Tue, May 08, 2012 at 08:28:22AM +0200, Hannes Reinecke wrote:
> 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.

Still breaks the build:

lib/klist.c: In function âklist_iter_init_nodeâ:
lib/klist.c:287:9: error: âstruct klist_nodeâ has no member named âklistâ
make[1]: *** [lib/klist.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/