diff options
| author | Saket Kumar Bhaskar <[email protected]> | 2025-05-12 09:11:07 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-06-01 19:57:41 +0000 |
| commit | 4b65d5ae971430287855a89635a184c489bd02a5 (patch) | |
| tree | ae9f597a48cfdbaa89c0cc49d315cefba82ac0f5 /rust/helpers/helpers.c | |
| parent | Merge tag 'linux-watchdog-6.16-rc1' of git://www.linux-watchdog.org/linux-wat... (diff) | |
| download | kernel-4b65d5ae971430287855a89635a184c489bd02a5.tar.gz kernel-4b65d5ae971430287855a89635a184c489bd02a5.zip | |
selftests/bpf: Fix bpf selftest build error
On linux-next, build for bpf selftest displays an error due to
mismatch in the expected function signature of bpf_testmod_test_read
and bpf_testmod_test_write.
Commit 97d06802d10a ("sysfs: constify bin_attribute argument of bin_attribute::read/write()")
changed the required type for struct bin_attribute to const struct bin_attribute.
To resolve the error, update corresponding signature for the callback.
Fixes: 97d06802d10a ("sysfs: constify bin_attribute argument of bin_attribute::read/write()")
Reported-by: Venkat Rao Bagalkote <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Tested-by: Venkat Rao Bagalkote <[email protected]>
Signed-off-by: Saket Kumar Bhaskar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
