Le 29/07/2016 à 05:55, Andrew Donnellan a écrit :
Rewrite the cxl_guest_init_afu() loop in cxl_of_probe() to use
for_each_child_of_node() rather than a hand-coded for loop.
Remove the useless of_node_put(afu_np) call after the loop, where it's
guaranteed that afu_np == NULL.
Reported-by: SF Markus Elfring <elfr...@users.sourceforge.net>
Reported-by: Julia Lawall <julia.law...@lip6.fr>
Signed-off-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>
Thanks!
Reviewed-by: Frederic Barrat <fbar...@linux.vnet.ibm.com>
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev