summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2022-05-13 07:41:43 +0300
committerTzung-Bi Shih <tzungbi@kernel.org>2022-05-16 05:01:52 +0300
commitbbd43a37ec7a02e81dc0afb2c6194957518a904b (patch)
tree1fe3b8d3c0e3c09a866c60944304759ef8262397 /Documentation/ABI
parentddec8e9e90cea8e8430b04a01adce7fb196d95c6 (diff)
downloadlinux-bbd43a37ec7a02e81dc0afb2c6194957518a904b.tar.xz
platform/chrome: cros_ec_spi: drop BUG_ON() if `din` isn't large enough
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
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions