Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1495673 > unrolled thread
| Started by | Michael Ellerman <patch-notifications@ellerman.id.au> |
|---|---|
| First post | 2016-10-05 04:40 +0200 |
| Last post | 2016-10-05 04:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: cxl: replace loop with for_each_child_of_node(), remove unneeded of_node_put() Michael Ellerman <patch-notifications@ellerman.id.au> - 2016-10-05 04:40 +0200
| From | Michael Ellerman <patch-notifications@ellerman.id.au> |
|---|---|
| Date | 2016-10-05 04:40 +0200 |
| Subject | Re: cxl: replace loop with for_each_child_of_node(), remove unneeded of_node_put() |
| Message-ID | <soKhI-2VX-3@gated-at.bofh.it> |
On Fri, 2016-29-07 at 03:55:34 UTC, Andrew Donnellan wrote: > 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 <elfring@users.sourceforge.net> > Reported-by: Julia Lawall <julia.lawall@lip6.fr> > Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> > Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/735840b44bcc998e2574faf63d1aaa cheers
Back to top | Article view | linux.kernel
csiph-web