Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1730170
| From | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver |
| Date | 2017-09-11 09:00 +0200 |
| Message-ID | <uoqRj-7DR-7@gated-at.bofh.it> (permalink) |
| References | <unrcK-7qq-29@gated-at.bofh.it> <unsLx-8nP-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Yamada-san, Thank you for your comments, On Fri, 8 Sep 2017 23:44:13 +0900 <yamada.masahiro@socionext.com> wrote: > 2017-09-08 22:02 GMT+09:00 Kunihiko Hayashi <hayashi.kunihiko@socionext.com>: > > > diff --git a/drivers/net/ethernet/socionext/Kconfig b/drivers/net/ethernet/socionext/Kconfig > > new file mode 100644 > > index 0000000..788f26f > > --- /dev/null > > +++ b/drivers/net/ethernet/socionext/Kconfig > > @@ -0,0 +1,22 @@ > > +config NET_VENDOR_SOCIONEXT > > + bool "Socionext ethernet drivers" > > + default y > > + ---help--- > > + Option to select ethernet drivers for Socionext platforms. > > + > > + Note that the answer to this question doesn't directly affect the > > + kernel: saying N will just cause the configurator to skip all > > + the questions about Agere devices. If you say Y, you will be asked > > + for your specific card in the following questions. > > > Agere? It's wrong. I have template strings left. I'll fix it. > > + > > + dev_info(dev, "Socionext %c%c%c%c Ethernet IP %s (irq=%d, phy=%s)\n", > > + (ave_id >> 24) & 0xff, (ave_id >> 16) & 0xff, > > + (ave_id >> 8) & 0xff, (ave_id >> 0) & 0xff, > > + buf, ndev->irq, phy_modes(phy_mode)); > > + > > + return 0; > > +err_netdev_register: > > Maybe, a bad label name. > for ex. out_del_napi or whatever. > > Documentation/process/coding-style.rst says > "Choose label names which say what the goto does ..." Yes, I'll rename it according to the document. > > + netif_napi_del(&priv->napi_rx); > > + netif_napi_del(&priv->napi_tx); > > + mdiobus_unregister(priv->mdio); > > +err_mdiobus_register: > > +err_mdiobus_alloc: > > +err_req_irq: > > These three should be merged, for ex. > out_free_device. I see. These will be merged. > I ran sparse for you. > > Please take a look if it is worthwhile. > Seems endianess around mac_addr. Okay, I'll check the suspicious code. > drivers/net/ethernet/socionext/sni_ave.c:423:15: warning: cast to > restricted __le32 > drivers/net/ethernet/socionext/sni_ave.c:425:20: warning: cast to > restricted __le16 > drivers/net/ethernet/socionext/sni_ave.c:1194:15: warning: cast to > restricted __le32 > drivers/net/ethernet/socionext/sni_ave.c:1196:20: warning: cast to > restricted __le16 > drivers/net/ethernet/socionext/sni_ave.c:1398:15: warning: cast to > restricted __le32 > drivers/net/ethernet/socionext/sni_ave.c:1400:20: warning: cast to > restricted __le16 > > > > > > -- > Best Regards > Masahiro Yamada --- Best Regards, Kunihiko Hayashi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH net-next 0/3] add UniPhier AVE ethernet support Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-08 15:10 +0200
[PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-08 15:10 +0200
Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions Andrew Lunn <andrew@lunn.ch> - 2017-09-08 16:00 +0200
Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions Florian Fainelli <f.fainelli@gmail.com> - 2017-09-08 21:00 +0200
Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions Jassi Brar <jaswinder.singh@linaro.org> - 2017-09-09 05:40 +0200
Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions Andrew Lunn <andrew@lunn.ch> - 2017-09-09 18:00 +0200
Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-11 09:50 +0200
[PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-08 15:10 +0200
Re: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE Andrew Lunn <andrew@lunn.ch> - 2017-09-08 16:10 +0200
Re: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-11 09:20 +0200
Re: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE Florian Fainelli <f.fainelli@gmail.com> - 2017-09-08 21:00 +0200
Re: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-11 09:20 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Andrew Lunn <andrew@lunn.ch> - 2017-09-08 16:00 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-11 09:00 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Andrew Lunn <andrew@lunn.ch> - 2017-09-11 14:40 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-12 11:30 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-08 16:50 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-11 09:00 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Florian Fainelli <f.fainelli@gmail.com> - 2017-09-09 18:40 +0200
Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver Kunihiko Hayashi <hayashi.kunihiko@socionext.com> - 2017-09-11 09:00 +0200
csiph-web