<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/usb/usbnet.c, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-11-02T18:50:51Z</updated>
<entry>
<title>usbnet: fix error return code in usbnet_probe()</title>
<updated>2021-11-02T18:50:51Z</updated>
<author>
<name>Wang Hai</name>
</author>
<published>2021-10-26T12:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5c410a4af7dfed942cc3dca5430cbe9540cd49e'/>
<id>urn:sha1:b5c410a4af7dfed942cc3dca5430cbe9540cd49e</id>
<content type='text'>
commit 6f7c88691191e6c52ef2543d6f1da8d360b27a24 upstream.

Return error code if usb_maxpacket() returns 0 in usbnet_probe()

Fixes: 397430b50a36 ("usbnet: sanity check for maxpacket")
Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Wang Hai &lt;wanghai38@huawei.com&gt;
Reviewed-by: Johan Hovold &lt;johan@kernel.org&gt;
Link: https://lore.kernel.org/r/20211026124015.3025136-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usbnet: sanity check for maxpacket</title>
<updated>2021-11-02T18:50:50Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2021-10-21T12:29:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e8b6a4f18edee070213cb6a77118e8a412253c5'/>
<id>urn:sha1:7e8b6a4f18edee070213cb6a77118e8a412253c5</id>
<content type='text'>
commit 397430b50a363d8b7bdda00522123f82df6adc5e upstream.

maxpacket of 0 makes no sense and oopses as we need to divide
by it. Give up.

V2: fixed typo in log and stylistic issues

Signed-off-by: Oliver Neukum &lt;oneukum@suse.com&gt;
Reported-by: syzbot+76bb1d34ffa0adc03baa@syzkaller.appspotmail.com
Reviewed-by: Johan Hovold &lt;johan@kernel.org&gt;
Link: https://lore.kernel.org/r/20211021122944.21816-1-oneukum@suse.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usbnet: add usbnet_event_names[] for kevent</title>
<updated>2021-06-24T19:34:45Z</updated>
<author>
<name>Yajun Deng</name>
</author>
<published>2021-06-24T07:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=478890682ff7124bf4eaa6f0af382e9d2c937f73'/>
<id>urn:sha1:478890682ff7124bf4eaa6f0af382e9d2c937f73</id>
<content type='text'>
Modify the netdev_dbg content from int to char * in usbnet_defer_kevent(),
this looks more readable.

Signed-off-by: Yajun Deng &lt;yajun.deng@linux.dev&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>usbnet: run unbind() before unregister_netdev()</title>
<updated>2021-06-07T20:23:02Z</updated>
<author>
<name>Oleksij Rempel</name>
</author>
<published>2021-06-07T08:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c9d6c2b871d5841ce26ede3e81fd37e2e33c42c'/>
<id>urn:sha1:2c9d6c2b871d5841ce26ede3e81fd37e2e33c42c</id>
<content type='text'>
unbind() is the proper place to disconnect PHY, but it will fail if
netdev is already unregistered.

Signed-off-by: Oleksij Rempel &lt;o.rempel@pengutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>usbnet: add method for reporting speed without MII</title>
<updated>2021-04-06T23:22:36Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2021-04-05T23:13:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=956baa99571bbaf88f3e91190dfb498c685b0e21'/>
<id>urn:sha1:956baa99571bbaf88f3e91190dfb498c685b0e21</id>
<content type='text'>
The old method for reporting link speed assumed a driver uses the
generic phy (mii) MDIO read/write functions. CDC devices don't
expose the phy.

Add a primitive internal version reporting back directly what
the CDC notification/status operations recorded.

v2: rebased on upstream
v3: changed names and made clear which units are used
v4: moved hunks to correct patch; rewrote commmit messages

Signed-off-by: Oliver Neukum &lt;oneukum@suse.com&gt;
Tested-by: Roland Dreier &lt;roland@kernel.org&gt;
Reviewed-by: Grant Grundler &lt;grundler@chromium.org&gt;
Tested-by: Grant Grundler &lt;grundler@chromium.org&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>usbnet: add _mii suffix to usbnet_set/get_link_ksettings</title>
<updated>2021-04-06T23:22:36Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2021-04-05T23:13:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77651900cede54930cd8a039dcd4583bfa308807'/>
<id>urn:sha1:77651900cede54930cd8a039dcd4583bfa308807</id>
<content type='text'>
The generic functions assumed devices provided an MDIO interface (accessed
via older mii code, not phylib). This is true only for genuine ethernet.

Devices with a higher level of abstraction or based on different
technologies do not have MDIO. To support this case, first rename
the existing functions with _mii suffix.

v2: rebased on changed upstream
v3: changed names to clearly say that this does NOT use phylib
v4: moved hunks to correct patch; reworded commmit messages

Signed-off-by : Oliver Neukum &lt;oneukum@suse.com&gt;
Tested-by: Roland Dreier &lt;roland@kernel.org&gt;
Reviewed-by: Grant Grundler &lt;grundler@chromium.org&gt;
Tested-by: Grant Grundler &lt;grundler@chromium.org&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: usb: log errors to dmesg/syslog</title>
<updated>2021-03-08T19:54:32Z</updated>
<author>
<name>Grant Grundler</name>
</author>
<published>2021-03-06T22:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d8c79b7e9ff05030aad68421f7584b129933ba6'/>
<id>urn:sha1:4d8c79b7e9ff05030aad68421f7584b129933ba6</id>
<content type='text'>
Errors in protocol should be logged when the driver aborts operations.
If the driver can carry on and "humor" the device, then emitting
the message as debug output level is fine.

Signed-off-by: Grant Grundler &lt;grundler@chromium.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: usbnet: use new tasklet API</title>
<updated>2021-01-27T02:04:26Z</updated>
<author>
<name>Emil Renner Berthing</name>
</author>
<published>2021-01-23T17:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c955e329bb9d44fab75cf2116542fcc0de0473c5'/>
<id>urn:sha1:c955e329bb9d44fab75cf2116542fcc0de0473c5</id>
<content type='text'>
This converts the driver to use the new tasklet API introduced in
commit 12cc923f1ccc ("tasklet: Introduce new initialization API")

Signed-off-by: Emil Renner Berthing &lt;kernel@esmil.dk&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: usbnet: initialize tasklet using tasklet_init</title>
<updated>2021-01-27T02:04:26Z</updated>
<author>
<name>Emil Renner Berthing</name>
</author>
<published>2021-01-23T17:32:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90a586b8d741b4b8a1368f6a2ccf858e1a0fe23c'/>
<id>urn:sha1:90a586b8d741b4b8a1368f6a2ccf858e1a0fe23c</id>
<content type='text'>
Initialize tasklet using tasklet_init() rather than open-coding it.

Signed-off-by: Emil Renner Berthing &lt;kernel@esmil.dk&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>usbnet: fix the indentation of one code snippet</title>
<updated>2021-01-27T01:06:47Z</updated>
<author>
<name>Dongliang Mu</name>
</author>
<published>2021-01-23T05:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2961f562bb7b8b3cbaeaf5d9f0ea0fa8e72cc066'/>
<id>urn:sha1:2961f562bb7b8b3cbaeaf5d9f0ea0fa8e72cc066</id>
<content type='text'>
Every line of code should start with tab (8 characters)

Signed-off-by: Dongliang Mu &lt;mudongliangabcd@gmail.com&gt;
Link: https://lore.kernel.org/r/20210123051102.1091541-1-mudongliangabcd@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
