linux-stable/drivers/thunderbolt
Jiri Slaby (SUSE) f4393ae16e thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype
commit d311376197 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-11 23:11:36 +09:00
..
Kconfig thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
Makefile
acpi.c thunderbolt: ACPI: Use the helper fwnode_find_reference() 2022-10-25 11:45:28 +03:00
cap.c
ctl.c thunderbolt: Use the actual buffer in tb_async_error() 2022-08-18 11:55:46 +03:00
ctl.h thunderbolt: Fix typo in comment 2022-06-17 18:19:15 +03:00
debugfs.c thunderbolt: Fix memory leak in margining 2023-03-30 12:51:26 +02:00
dma_port.c
dma_port.h
dma_test.c
domain.c thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-09-24 09:22:01 +03:00
eeprom.c
icm.c thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
lc.c
nhi.c thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit 2023-03-30 12:51:26 +02:00
nhi.h thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
nhi_ops.c
nhi_regs.h thunderbolt: Disable interrupt auto clear for rings 2023-03-30 12:51:26 +02:00
nvm.c thunderbolt: Add support for ASMedia NVM image format 2022-09-07 09:06:51 +03:00
path.c thunderbolt: Dump path config space entries during discovery 2022-04-19 10:26:13 +03:00
property.c
quirks.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:12:22 +02:00
retimer.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:51:26 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:51:26 +02:00
switch.c thunderbolt: Call tb_check_quirks() after initializing adapters 2023-03-30 12:51:25 +02:00
tb.c thunderbolt: Do not call PM runtime functions in tb_retimer_scan() 2023-01-09 10:43:51 +02:00
tb.h thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype 2023-05-11 23:11:36 +09:00
tb_msgs.h thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
tb_regs.h thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
test.c thunderbolt: test: Use kunit_test_suite() macro 2022-07-11 17:13:21 -06:00
tmu.c thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneled 2022-06-06 12:24:56 +03:00
tunnel.c thunderbolt: Use correct function to calculate maximum USB3 link rate 2023-01-09 10:44:23 +02:00
tunnel.h thunderbolt: Use different lane for second DisplayPort tunnel 2022-04-19 10:26:18 +03:00
usb4.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:12:22 +02:00
usb4_port.c thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
xdomain.c thunderbolt: Disable XDomain lane 1 only in software connection manager 2023-01-09 10:44:43 +02:00