aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorVishnu Sankar <vishnuocv@gmail.com>2025-01-14 09:41:58 +0900
committerJiri Kosina <jkosina@suse.com>2025-03-04 21:14:29 +0100
commitd6ea85f8371b99c1d3a90ee4e2fb1a648f8d71d3 (patch)
tree5138ee56eb2c3629b624449dbe94cd5ef43749c7 /scripts/gdb/linux/utils.py
parentMerge tag 'hid-for-linus-2025021001' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff)
downloadwireguard-linux-d6ea85f8371b99c1d3a90ee4e2fb1a648f8d71d3.tar.xz
wireguard-linux-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 <vishnuocv@gmail.com> Signed-off-by: Vishnu Sankar <vsankar@lenovo.com> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501101635.qJrwAOwf-lkp@intel.com/ Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions