summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2022-05-13 12:41:39 +0800
committerTzung-Bi Shih <tzungbi@kernel.org>2022-05-16 10:01:51 +0800
commitc2dcb1b06053a1ccfb73fe84e7b54b92383401cc (patch)
tree253e28cb483fe1b1977ddc27c5381a1728de3119 /scripts/gdb/linux/utils.py
parent71d3ae7fb6404c87b498f8b7f86b8271dd74989f (diff)
platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_prepare_tx()
It is overkill to crash the kernel if the given message is oversize. Drop the BUG_ON() and return -EINVAL instead. Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://lore.kernel.org/r/20220513044143.1045728-4-tzungbi@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions