<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/nxp, branch linux-5.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-06-22T07:32:37Z</updated>
<entry>
<title>net: lpc-enet: fix error return code in lpc_mii_init()</title>
<updated>2020-06-22T07:32:37Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2020-04-27T12:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a533d61853133caf9910a0cecb21a209ea2cdc8'/>
<id>urn:sha1:6a533d61853133caf9910a0cecb21a209ea2cdc8</id>
<content type='text'>
[ Upstream commit 88ec7cb22ddde725ed4ce15991f0bd9dd817fd85 ]

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: b7370112f519 ("lpc32xx: Added ethernet driver")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: convert suitable drivers to use phy_do_ioctl_running</title>
<updated>2020-01-23T09:49:30Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2020-01-21T21:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd786fb1d2cad70b9aaba8c73872cbf63262bd58'/>
<id>urn:sha1:fd786fb1d2cad70b9aaba8c73872cbf63262bd58</id>
<content type='text'>
Convert suitable drivers to use new helper phy_do_ioctl_running.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Acked-by: Timur Tabi &lt;timur@kernel.org&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>lpc_eth: kernel BUG on remove</title>
<updated>2019-12-07T04:51:19Z</updated>
<author>
<name>Bruno Carneiro da Cunha</name>
</author>
<published>2019-12-05T20:16:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04aa1bc42e4d31a7c58f38eefc323ac395517635'/>
<id>urn:sha1:04aa1bc42e4d31a7c58f38eefc323ac395517635</id>
<content type='text'>
We may have found a bug in the nxp/lpc_eth.c driver. The function
platform_set_drvdata() is called twice, the second time it is called,
in lpc_mii_init(), it overwrites the struct net_device which should be
at pdev-&gt;dev-&gt;driver_data with pldat-&gt;mii_bus. When trying to remove
the driver, in lpc_eth_drv_remove(), platform_get_drvdata() will
return the pldat-&gt;mii_bus pointer and try to use it as a struct
net_device pointer. This causes unregister_netdev to segfault and
generate a kernel BUG. Is this reproducible?

Signed-off-by: Daniel Martinez &lt;linux@danielsmartinez.com&gt;
Signed-off-by: Bruno Carneiro da Cunha &lt;brunocarneirodacunha@usp.br&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2019-10-20T17:43:00Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2019-10-20T05:51:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f184393e0c2d409c62262f57f2a57efdf9370b8'/>
<id>urn:sha1:2f184393e0c2d409c62262f57f2a57efdf9370b8</id>
<content type='text'>
Several cases of overlapping changes which were for the most
part trivially resolvable.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: lpc_eth: parse phy nodes from device tree</title>
<updated>2019-10-18T20:12:35Z</updated>
<author>
<name>Alexandre Belloni</name>
</author>
<published>2019-10-17T22:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3503bf024b3ec6d36ba1fe7a19ad083f058bb95d'/>
<id>urn:sha1:3503bf024b3ec6d36ba1fe7a19ad083f058bb95d</id>
<content type='text'>
When connected to a micrel phy, phy_find_first doesn't work properly
because the first phy found is on address 0, the broadcast address but, the
first thing the phy driver is doing is disabling this broadcast address.
The phy is then available only on address 1 but the mdio driver doesn't
know about it.

Instead, register the mdio bus using of_mdiobus_register and try to find
the phy description in device tree before falling back to phy_find_first.

This ultimately also allows to describe the interrupt the phy is connected
to.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: lpc_eth: avoid resetting twice</title>
<updated>2019-10-13T18:15:25Z</updated>
<author>
<name>Alexandre Belloni</name>
</author>
<published>2019-10-10T20:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c23936fad79ea2bea749db19b8921bb4dc524905'/>
<id>urn:sha1:c23936fad79ea2bea749db19b8921bb4dc524905</id>
<content type='text'>
__lpc_eth_shutdown is called after __lpc_eth_reset but it is already
calling __lpc_eth_reset. Avoid resetting the IP twice.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: Fix Kconfig indentation</title>
<updated>2019-09-26T06:56:17Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2019-09-23T15:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02bc5eb990597796d8e8383d1b98e540af963bf1'/>
<id>urn:sha1:02bc5eb990597796d8e8383d1b98e540af963bf1</id>
<content type='text'>
Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
    $ sed -e 's/^        /\t/' -i */Kconfig

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Acked-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: lpc-enet: allow compile testing</title>
<updated>2019-08-15T19:34:00Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2019-08-09T14:40:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35974a7cc23c5deb5597c0a42183172498c4a0a8'/>
<id>urn:sha1:35974a7cc23c5deb5597c0a42183172498c4a0a8</id>
<content type='text'>
The lpc-enet driver can now be built on all platforms, so
allow compile testing as well.

Add one missing header inclusion that is required in some
configurations.

Link: https://lore.kernel.org/r/20190809144043.476786-11-arnd@arndb.de
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>net: lpc-enet: fix printk format strings</title>
<updated>2019-08-15T19:33:57Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2019-08-09T14:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de6f97b2bace0e2eb6c3a86e124d1e652a587b56'/>
<id>urn:sha1:de6f97b2bace0e2eb6c3a86e124d1e652a587b56</id>
<content type='text'>
compile-testing this driver on other architectures showed
multiple warnings:

  drivers/net/ethernet/nxp/lpc_eth.c: In function 'lpc_eth_drv_probe':
  drivers/net/ethernet/nxp/lpc_eth.c:1337:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]

  drivers/net/ethernet/nxp/lpc_eth.c:1342:19: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]

Use format strings that work on all architectures.

Link: https://lore.kernel.org/r/20190809144043.476786-10-arnd@arndb.de
Reported-by: kbuild test robot &lt;lkp@intel.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>net: lpc-enet: fix badzero.cocci warnings</title>
<updated>2019-08-15T19:33:54Z</updated>
<author>
<name>kbuild test robot</name>
</author>
<published>2019-08-09T14:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=772775c1dfe00c99a9fe449ed35f74f1067f0128'/>
<id>urn:sha1:772775c1dfe00c99a9fe449ed35f74f1067f0128</id>
<content type='text'>
drivers/net/ethernet/nxp/lpc_eth.c:1316:31-32: WARNING comparing pointer to 0

 Compare pointer-typed values to NULL rather than 0

Semantic patch information:
 This makes an effort to choose between !x and x == NULL.  !x is used
 if it has previously been used with the function used to initialize x.
 This relies on type information.  More type information can be obtained
 using the option -all_includes and the option -I to specify an
 include path.

Generated by: scripts/coccinelle/null/badzero.cocci

Link: https://lore.kernel.org/r/20190809144043.476786-9-arnd@arndb.de
Fixes: e42016eb3844 ("net: lpc-enet: allow compile testing")
Signed-off-by: kbuild test robot &lt;lkp@intel.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
