]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: intel-thc-hid: intel-quicki2c: Fix wrong type casting
authorXinpeng Sun <xinpeng.sun@intel.com>
Thu, 9 Oct 2025 03:31:08 +0000 (11:31 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 14 Oct 2025 09:27:01 +0000 (11:27 +0200)
commit6c26c055523d915afb8d18e7277848eff66a3085
tree1bc58e40e7aee654eda83527d181f988ea77fdeb
parent54ba6d9b1393a0061600c0e49c8ebef65d60a8b2
HID: intel-thc-hid: intel-quicki2c: Fix wrong type casting

The type definition of qcdev->i2c_max_frame_size is already
u32, so remove the unnecessary type casting le16_to_cpu.

Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509280841.pxmgBzKW-lkp@intel.com/
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c