diff options
author | Tzung-Bi Shih <[email protected]> | 2022-05-13 12:41:37 +0800 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2022-05-16 10:01:51 +0800 |
commit | 42701e7c0cd2a715def2dafd22f11f25ca0f5024 (patch) | |
tree | fb06dc38122c7fc7a2bbfcb1c6d57e76591597ef /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 0a4cad9c11ad46662ede48d94f08ecb7cd9f6916 (diff) |
platform/chrome: cros_ec_proto: drop unneeded BUG_ON() in prepare_packet()
prepare_packet() gets called if `ec_dev->proto_version` > 2. For now, it
must be equivalent to EC_HOST_REQUEST_VERSION.
Drop the BUG_ON().
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions