diff options
| author | Vishnu Sankar <[email protected]> | 2025-01-14 00:41:58 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2025-03-04 20:14:29 +0000 |
| commit | d6ea85f8371b99c1d3a90ee4e2fb1a648f8d71d3 (patch) | |
| tree | 5138ee56eb2c3629b624449dbe94cd5ef43749c7 /net/unix/unix_bpf.c | |
| parent | Merge tag 'hid-for-linus-2025021001' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-d6ea85f8371b99c1d3a90ee4e2fb1a648f8d71d3.tar.gz kernel-d6ea85f8371b99c1d3a90ee4e2fb1a648f8d71d3.zip | |
HID: lenovo: Fix to ensure the data as __le32 instead of u32
Ensure that data is treated as __le32 instead of u32 before
applying le32_to_cpu.
This patch fixes the sparse warning "sparse: cast to restricted __le32".
Signed-off-by: Vishnu Sankar <[email protected]>
Signed-off-by: Vishnu Sankar <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
