<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/um/drivers/vector_kern.c, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-04-22T20:29:31Z</updated>
<entry>
<title>um: vector: remove unused len variable/calculation</title>
<updated>2024-04-22T20:29:31Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2024-03-28T09:06:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2caa4982ea8ba601faf8313097720f87aafa7ea5'/>
<id>urn:sha1:2caa4982ea8ba601faf8313097720f87aafa7ea5</id>
<content type='text'>
The len variable is unused, so not needed, remove it.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Reviewed-by: Tiwei Bie &lt;tiwei.btw@antgroup.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: vector: fix bpfflash parameter evaluation</title>
<updated>2024-04-22T20:28:40Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2024-03-28T09:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=584ed2f76ff5fe360d87a04d17b6520c7999e06b'/>
<id>urn:sha1:584ed2f76ff5fe360d87a04d17b6520c7999e06b</id>
<content type='text'>
With W=1 the build complains about a pointer compared to
zero, clearly the result should've been compared.

Fixes: 9807019a62dc ("um: Loadable BPF "Firmware" for vector drivers")
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Reviewed-by: Tiwei Bie &lt;tiwei.btw@antgroup.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: Convert strscpy() usage to 2-argument style</title>
<updated>2024-02-21T04:47:32Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2024-02-02T11:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e06589843632afc78d2f8e9735dac3146b97988'/>
<id>urn:sha1:1e06589843632afc78d2f8e9735dac3146b97988</id>
<content type='text'>
The ARCH=um build has its own idea about strscpy()'s definition. Adjust
the callers to remove the redundant sizeof() arguments ahead of treewide
changes, since it needs a manual adjustment for the newly named
sized_strscpy() export.

Cc: Richard Weinberger &lt;richard@nod.at&gt;
Cc: linux-um@lists.infradead.org
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
</content>
</entry>
<entry>
<title>um: vector: Fix memory leak in vector_config</title>
<updated>2023-02-01T21:11:27Z</updated>
<author>
<name>Xiang Yang</name>
</author>
<published>2022-11-15T07:32:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f88c73afe481f93d40801596927e8c0047b6d96'/>
<id>urn:sha1:8f88c73afe481f93d40801596927e8c0047b6d96</id>
<content type='text'>
If the return value of the uml_parse_vector_ifspec function is NULL,
we should call kfree(params) to prevent memory leak.

Fixes: 49da7e64f33e ("High Performance UML Vector Network Driver")
Signed-off-by: Xiang Yang &lt;xiangyang3@huawei.com&gt;
Acked-By: Anton Ivanov &lt;anton.ivanov@kot-begemot.co.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: move from strlcpy with unused retval to strscpy</title>
<updated>2022-09-19T20:45:24Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2022-08-18T20:59:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6e4d33f380fbfd85b909d16c9b639299e5c37a6'/>
<id>urn:sha1:e6e4d33f380fbfd85b909d16c9b639299e5c37a6</id>
<content type='text'>
Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>um: vector: switch to netif_napi_add_weight()</title>
<updated>2022-05-08T10:33:56Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2022-05-06T17:07:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d92c627557584621fcea04992b2935feff99a24'/>
<id>urn:sha1:4d92c627557584621fcea04992b2935feff99a24</id>
<content type='text'>
UM's netdev driver uses a custom napi weight, switch to the new
API for setting custom weight.

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>um: Migrate vector drivers to NAPI</title>
<updated>2022-03-11T09:45:21Z</updated>
<author>
<name>Anton Ivanov</name>
</author>
<published>2022-01-21T11:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b35507a4cfb26b7fcc0c97de6367828d5902bbba'/>
<id>urn:sha1:b35507a4cfb26b7fcc0c97de6367828d5902bbba</id>
<content type='text'>
Migrate UML vector drivers from a bespoke scheduling mechanism
to NAPI.

Signed-off-by: Anton Ivanov &lt;anton.ivanov@cambridgegreys.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>ethtool: extend ringparam setting/getting API with rx_buf_len</title>
<updated>2021-11-22T12:31:49Z</updated>
<author>
<name>Hao Chen</name>
</author>
<published>2021-11-18T12:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7462494408cd3de8b0bc1e79670bf213288501d0'/>
<id>urn:sha1:7462494408cd3de8b0bc1e79670bf213288501d0</id>
<content type='text'>
Add two new parameters kernel_ringparam and extack for
.get_ringparam and .set_ringparam to extend more ring params
through netlink.

Signed-off-by: Hao Chen &lt;chenhao288@hisilicon.com&gt;
Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>um: vector: adjust to coalesce API changes</title>
<updated>2021-08-27T14:05:53Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2021-08-27T07:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4baf0e0b329874ec5e85480f53851b5f05a7ae58'/>
<id>urn:sha1:4baf0e0b329874ec5e85480f53851b5f05a7ae58</id>
<content type='text'>
The API changes were propagated to most drivers, but clearly
arch/um/drivers/ was missed, perhaps due to looking only at
the drivers/ folder. Fix that.

Fixes: f3ccfda19319 ("ethtool: extend coalesce setting uAPI with CQE mode")
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Link: https://lore.kernel.org/r/20210827094759.f3ab06684bd0.I985181cc00fe017cfe6413d9e1bb720cbe852e6d@changeid
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>um: Remove unused including &lt;linux/version.h&gt;</title>
<updated>2021-04-15T21:10:43Z</updated>
<author>
<name>Yang Li</name>
</author>
<published>2021-04-06T02:00:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c521db95d4e3f7ba7dd8fd0679ff148d848c1d4b'/>
<id>urn:sha1:c521db95d4e3f7ba7dd8fd0679ff148d848c1d4b</id>
<content type='text'>
Fix the following versioncheck warning:
./arch/um/drivers/vector_kern.c: 11 linux/version.h not needed.

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
</feed>
