Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1566071
| From | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() |
| Date | 2017-01-24 20:00 +0100 |
| Message-ID | <t3etY-7Tw-15@gated-at.bofh.it> (permalink) |
| References | (7 earlier) <t0lLk-5zl-3@gated-at.bofh.it> <t1mci-2Mr-33@gated-at.bofh.it> <t1mlX-2PW-3@gated-at.bofh.it> <t1oe6-40V-41@gated-at.bofh.it> <t1pDb-51e-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 01/19/2017 10:12 AM, Florian Fainelli wrote: > > Back to the actual code that triggered this discussion, the whole > purpose is just a safeguard. Given a device reference, we can assume > that it is indeed the backing device for a net_device, and we could do a > to_net_device() right away (and crash if someone did not write correct > platform_data structures), or, by walking the device tree (the device > driver model one) we can make sure it does belong in the proper class > and this is indeed what we think it is. Greg, did Russell's explanation clarify things, or do you still think this is completely bogus and we need to re design the whole thing? Just asking so I can try to resubmit just the preparatory parts or just the whole thing. Thank you -- Florian
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Florian Fainelli <f.fainelli@gmail.com> - 2017-01-16 21:10 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Greg KH <gregkh@linuxfoundation.org> - 2017-01-18 08:20 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Greg KH <gregkh@linuxfoundation.org> - 2017-01-19 15:50 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Andrew Lunn <andrew@lunn.ch> - 2017-01-19 16:00 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Greg KH <gregkh@linuxfoundation.org> - 2017-01-19 17:40 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-19 17:50 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-19 18:00 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Florian Fainelli <f.fainelli@gmail.com> - 2017-01-19 19:30 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Florian Fainelli <f.fainelli@gmail.com> - 2017-01-24 20:00 +0100
Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class() Greg KH <gregkh@linuxfoundation.org> - 2017-01-25 22:30 +0100
csiph-web