mirror-linux/drivers/platform/chrome
Yu Jiaoliang d1b35e6d34 platform/chrome: chromeos_laptop: Use kmemdup_array
Let the kememdup_array() take care about multiplication and possible
overflows.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Link: https://lore.kernel.org/r/20240823024056.3031644-1-yujiaoliang@vivo.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2024-08-23 21:48:43 +08:00
..
wilco_ec platform/chrome: cros_ec_lpc: MEC access can return error code 2024-06-06 03:09:16 +00:00
Kconfig platform/chrome: cros_kbd_led_backlight: allow binding through MFD 2024-06-14 10:09:40 +01:00
Makefile platform/chrome: kunit: make EC protocol tests independent 2023-10-05 18:11:36 +08:00
chromeos_acpi.c platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER 2023-08-10 11:10:56 +08:00
chromeos_laptop.c platform/chrome: chromeos_laptop: Use kmemdup_array 2024-08-23 21:48:43 +08:00
chromeos_privacy_screen.c
chromeos_pstore.c
chromeos_tbmc.c
cros_ec.c platform/chrome: cros_ec: let cros_ec_suspend() call cros_ec_suspend_* 2024-05-27 02:42:28 +00:00
cros_ec.h platform/chrome: cros_ec_lpc: Separate host command and irq disable 2023-10-28 11:13:25 +08:00
cros_ec_chardev.c platform/chrome: cros_ec_chardev: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
cros_ec_debugfs.c platform/chrome: cros_ec_debugfs: fix wrong EC message version 2024-06-12 02:28:39 +00:00
cros_ec_i2c.c
cros_ec_ishtp.c platform/chrome: cros_ec_ishtp: use helper functions for connection 2023-12-06 11:33:46 +01:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc: switch primary DMI data for Framework Laptop 2024-08-07 20:48:54 +08:00
cros_ec_lpc_mec.c platform/chrome: cros_ec_lpc: Handle zero length read/write 2024-06-14 02:47:25 +00:00
cros_ec_lpc_mec.h platform/chrome: cros_ec_lpc: MEC access can use an AML mutex 2024-06-06 03:11:51 +00:00
cros_ec_proto.c platform/chrome: cros_ec_proto: Lock device when updating MKBP version 2024-07-30 19:48:35 +08:00
cros_ec_proto_test.c platform/chrome: cros_ec_proto: update Kunit test for get_next_data_v3 2024-06-12 02:27:00 +00:00
cros_ec_proto_test_util.c platform/chrome: kunit: make EC protocol tests independent 2023-10-05 18:11:36 +08:00
cros_ec_proto_test_util.h platform/chrome: kunit: make EC protocol tests independent 2023-10-05 18:11:36 +08:00
cros_ec_rpmsg.c
cros_ec_sensorhub.c platform/chrome: cros_ec_sensorhub: provide ID table for avoiding fallback match 2024-04-24 16:45:56 +08:00
cros_ec_sensorhub_ring.c platform/chrome: sensorhub: Implement quickselect for median calculation 2023-11-13 12:46:42 +08:00
cros_ec_sensorhub_trace.h
cros_ec_spi.c platform/chrome: cros_ec_spi: Follow renaming of SPI "master" to "controller" 2024-02-08 11:54:47 +00:00
cros_ec_sysfs.c platform/chrome: cros_ec_sysfs: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00
cros_ec_trace.c
cros_ec_trace.h
cros_ec_typec.c platform/chrome: cros_ec_typec: add remove driver hook 2024-08-09 20:55:09 +08:00
cros_ec_typec.h
cros_ec_uart.c chrome-platform fixes for v6.9-rc4 2024-04-11 11:15:09 -07:00
cros_ec_vbc.c platform/chrome: cros_ec_vbc: provide ID table for avoiding fallback match 2024-04-24 16:45:58 +08:00
cros_hps_i2c.c platform/chrome: cros_hps_i2c: Replace deprecated UNIVERSAL_DEV_PM_OPS() 2024-04-24 16:45:59 +08:00
cros_kbd_led_backlight.c platform/chrome: cros_kbd_led_backlight: allow binding through MFD 2024-06-14 10:09:40 +01:00
cros_typec_switch.c platform/chrome: cros_typec_switch: Convert to platform remove callback returning void 2023-09-28 13:18:06 +08:00
cros_typec_vdm.c platform/chrome: cros_typec_vdm: Mark port_amode_ops const 2023-10-04 11:40:54 +08:00
cros_typec_vdm.h platform/chrome: cros_typec_vdm: Mark port_amode_ops const 2023-10-04 11:40:54 +08:00
cros_usbpd_logger.c platform/chrome: cros_usbpd_logger: provide ID table for avoiding fallback match 2024-04-24 16:45:56 +08:00
cros_usbpd_notify.c platform/chrome: cros_usbpd_notify: provide ID table for avoiding fallback match 2024-04-24 16:45:57 +08:00