mirror of https://github.com/torvalds/linux.git
It is overkill to crash the kernel if the `din` buffer is going to full or overflow. Drop the BUG_ON() and return -EINVAL instead. Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Link: https://lore.kernel.org/r/20220513044143.1045728-8-tzungbi@kernel.org |
||
|---|---|---|
| .. | ||
| wilco_ec | ||
| Kconfig | ||
| Makefile | ||
| chromeos_acpi.c | ||
| chromeos_laptop.c | ||
| chromeos_privacy_screen.c | ||
| chromeos_pstore.c | ||
| chromeos_tbmc.c | ||
| cros_ec.c | ||
| cros_ec.h | ||
| cros_ec_chardev.c | ||
| cros_ec_debugfs.c | ||
| cros_ec_i2c.c | ||
| cros_ec_ishtp.c | ||
| cros_ec_lightbar.c | ||
| cros_ec_lpc.c | ||
| cros_ec_lpc_mec.c | ||
| cros_ec_lpc_mec.h | ||
| cros_ec_proto.c | ||
| cros_ec_rpmsg.c | ||
| cros_ec_sensorhub.c | ||
| cros_ec_sensorhub_ring.c | ||
| cros_ec_sensorhub_trace.h | ||
| cros_ec_spi.c | ||
| cros_ec_sysfs.c | ||
| cros_ec_trace.c | ||
| cros_ec_trace.h | ||
| cros_ec_typec.c | ||
| cros_ec_vbc.c | ||
| cros_kbd_led_backlight.c | ||
| cros_usbpd_logger.c | ||
| cros_usbpd_notify.c | ||