diff options
| author | Martin KaFai Lau <[email protected]> | 2024-05-16 16:43:10 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-05-16 23:50:11 +0000 |
| commit | 51e2b8d33199df9675d2a36ec6aad0c27e91c6fe (patch) | |
| tree | 21f89df0ecb1e63e64fe003247868ef0c80ccbee /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | selftests/bpf: Adjust test_access_variable_array after a kernel function name... (diff) | |
| download | kernel-51e2b8d33199df9675d2a36ec6aad0c27e91c6fe.tar.gz kernel-51e2b8d33199df9675d2a36ec6aad0c27e91c6fe.zip | |
selftests/bpf: Adjust btf_dump test to reflect recent change in file_operations
The btf_dump test fails:
test_btf_dump_struct_data:FAIL:file_operations unexpected file_operations: actual '(struct file_operations){
.owner = (struct module *)0xffffffffffffffff,
.fop_flags = (fop_flags_t)4294967295,
.llseek = (loff_t (*)(struct f' != expected '(struct file_operations){
.owner = (struct module *)0xffffffffffffffff,
.llseek = (loff_t (*)(struct file *, loff_t, int))0xffffffffffffffff,'
The "fop_flags" is a recent addition to the struct file_operations in
commit 210a03c9d51a ("fs: claw back a few FMODE_* bits")
This patch changes the test_btf_dump_struct_data() to reflect
this change.
Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Alan Maguire <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
