Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1657185
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] mdio: mux: make child bus walking more permissive and errors more verbose |
| Date | 2017-06-05 01:40 +0200 |
| Message-ID | <tONhL-3ij-1@gated-at.bofh.it> (permalink) |
| References | <tNhMZ-CQ-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Jon Mason <jon.mason@broadcom.com> Date: Wed, 31 May 2017 15:44:50 -0400 > If any errors are encountered while walking the device tree structure of > the MDIO bus for children, the code may silently continue, silently > exit, or throw an error and exit. This make it difficult for device > tree writers to know there is an error. Also, it makes any error in a > child entry of the MDIO bus be fatal for all entries. Instead, we > should provide verbose errors describing the error and then attempt to > continue if it all possible. Also, use of_mdio_parse_addr() > > Signed-off-by: Jon Mason <jon.mason@broadcom.com> Looks good. Every conversion from break to continue properly gets rid of the child_bus_node release, and this new behavior matches what was discussed a few weeks ago. Applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] mdio: mux: make child bus walking more permissive and errors more verbose Jon Mason <jon.mason@broadcom.com> - 2017-05-31 21:50 +0200 Re: [PATCH net-next] mdio: mux: make child bus walking more permissive and errors more verbose David Miller <davem@davemloft.net> - 2017-06-05 01:40 +0200
csiph-web