linux/drivers/usb/typec
Dan Carpenter cfed201e2d usb: typec: anx7411: Fix an array out of bounds
This should be ARRAY_SIZE() instead of sizeof().  ARRAY_SIZE is
4 and  sizeof is 8.

Fixes: fe6d8a9c8e ("usb: typec: anx7411: Add Analogix PD ANX7411 support")
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YtpC5s4/AD8vFz+X@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-27 14:26:39 +02:00
..
altmodes usb: typec: altmodes/displayport: Notify drm subsys of hotplug events 2021-08-20 12:35:59 +02:00
mux usb: typec: mux: Add On Semi fsa4480 driver 2022-04-26 13:47:13 +02:00
tcpm usb: typec: tcpci: move tcpci.h to include/linux/usb/ 2022-07-08 14:51:16 +02:00
tipd usb: typec: tipd: Only update power status on IRQ 2022-04-21 18:31:08 +02:00
ucsi ucsi_ccg: ACPI based I2c client enumeration for AMD ASICs 2022-06-10 11:54:08 +02:00
anx7411.c usb: typec: anx7411: Fix an array out of bounds 2022-07-27 14:26:39 +02:00
bus.c usb: typec: mux: Introduce indirection 2022-04-26 13:47:13 +02:00
bus.h usb: typec: Organize the private headers properly 2021-04-05 09:07:41 +02:00
class.c Merge 5.19-rc7 into usb-next 2022-07-18 22:41:42 +02:00
class.h usb: typec: Add retimer handle to port 2022-07-14 16:24:05 +02:00
hd3ss3220.c usb: typec: hd3ss3220: Use regmap_write_bits() 2021-09-14 10:12:06 +02:00
Kconfig usb: typec: anx7411: Add Analogix PD ANX7411 support 2022-07-14 16:10:57 +02:00
Makefile usb: typec: Add support for retimers 2022-07-14 16:24:05 +02:00
mux.c usb: typec: mux: Allow muxes to specify mode-switch 2022-06-21 16:37:56 +02:00
mux.h usb: typec: mux: Introduce indirection 2022-04-26 13:47:13 +02:00
pd.c usb: typec: Separate USB Power Delivery from USB Type-C 2022-06-12 06:49:47 +02:00
pd.h usb: typec: Separate USB Power Delivery from USB Type-C 2022-06-12 06:49:47 +02:00
port-mapper.c ACPI: bus: Introduce acpi_bus_for_each_dev() 2022-03-02 20:55:47 +01:00
qcom-pmic-typec.c usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
retimer.c usb: typec: Add support for retimers 2022-07-14 16:24:05 +02:00
retimer.h usb: typec: Add support for retimers 2022-07-14 16:24:05 +02:00
rt1719.c usb: typec: rt1719: Add support for Richtek RT1719 2022-02-11 11:59:17 +01:00
stusb160x.c usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes 2021-07-21 09:16:40 +02:00
wusb3801.c usb: typec: Support the WUSB3801 port controller 2022-02-17 16:23:18 +01:00