<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/bpf/progs/Makefile, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2026-01-07T14:03:48Z</updated>
<entry>
<title>HID: bpf: fix bpf compilation with -fms-extensions</title>
<updated>2026-01-07T14:03:48Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2026-01-06T15:30:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7666c891cc7e1a157cd99bca737631c8be07504'/>
<id>urn:sha1:b7666c891cc7e1a157cd99bca737631c8be07504</id>
<content type='text'>
Similar to commit 835a50753579 ("selftests/bpf: Add -fms-extensions to
bpf build flags") and commit 639f58a0f480 ("bpftool: Fix build warnings
due to MS extensions")

The kernel is now built with -fms-extensions, therefore
generated vmlinux.h contains types like:
struct slab {
   ..
   struct freelist_counters;
};

Use -fms-extensions and -Wno-microsoft-anon-tag flags
to build bpf programs that #include "vmlinux.h"

Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>HID: bpf: error on warnings when compiling bpf objects</title>
<updated>2024-06-14T09:20:20Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2024-06-08T09:01:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c94ae2189acac38b01be60e3b878605fb328782c'/>
<id>urn:sha1:c94ae2189acac38b01be60e3b878605fb328782c</id>
<content type='text'>
There is no real reasons to paper over warnings for such small programs.

Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-13-6ac6ade58329@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>HID: bpf: add first in-tree HID-BPF fix for the XPPen Artist 24</title>
<updated>2024-05-07T13:38:53Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2024-04-10T17:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04b3e5ab055553e074ea54ef316982b55cdde96b'/>
<id>urn:sha1:04b3e5ab055553e074ea54ef316982b55cdde96b</id>
<content type='text'>
This commit adds a fix for XPPen Artist 24 where the second button on
the pen is used as an eraser.

It's a "feature" from Microsoft, but it turns out that it's actually
painful for artists. So we ship here a HID-BPF program that turns this
second button into an actual button.

Note that the HID-BPF program is not directly loaded by the kernel itself
but by udev-hid-bpf[0]. But having the sources here allows us to also
integrate tests into tools/testing/selftests/hid to ensure the HID-BPF
program are actually tested.

[0] https://gitlab.freedesktop.org/libevdev/udev-hid-bpf

Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-2-a8bf16033ef8@kernel.org
Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
</feed>
