Skip to content
Commit 609174ed authored by José Expósito's avatar José Expósito Committed by Jiri Kosina
Browse files

HID: uclogic: Fix warning in uclogic_rdesc_template_apply



Building with Sparse enabled prints this warning:

    warning: incorrect type in assignment (different base types)
        expected signed int x
        got restricted __le32 [usertype]

Cast the return value of cpu_to_le32() to fix the warning.

Fixes: 08177f40 ("HID: uclogic: merge hid-huion driver in hid-uclogic")
Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 0977fda0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment