summaryrefslogtreecommitdiff
path: root/fs/erofs/decompressor_lzma.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2022-12-12 13:29:36 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2022-12-27 11:31:03 +0300
commitd31137619776f9c173a46a79bc7733a2b106061f (patch)
treeb4ca01ceab3d2b7ed0c9ac28aecb710e81c5ea8b /fs/erofs/decompressor_lzma.c
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-d31137619776f9c173a46a79bc7733a2b106061f.tar.xz
thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype
tb_port_is_clx_enabled() generates a valid warning with gcc-13: drivers/thunderbolt/switch.c:1286:6: error: conflicting types for 'tb_port_is_clx_enabled' due to enum/integer mismatch; have 'bool(struct tb_port *, unsigned int)' ... drivers/thunderbolt/tb.h:1050:6: note: previous declaration of 'tb_port_is_clx_enabled' with type 'bool(struct tb_port *, enum tb_clx)' ... I.e. the type of the 2nd parameter of tb_port_is_clx_enabled() in the declaration is unsigned int, while the definition spells enum tb_clx. Synchronize them to the former as the parameter is in fact a mask of the enum values. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'fs/erofs/decompressor_lzma.c')
0 files changed, 0 insertions, 0 deletions