platform/chrome: get rid of BUG_ON()
Status from this message: This series was applied to chrome-platform/linux.git (for-kernelci)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesApplied 7/7
- v16 patches 7 repliesSuperseded
Changes in v2 from the cover letter
(https://patchwork.kernel.org/project/chrome-platform/cover/[email protected]/)
- Split the original 6th patch into 2 smaller patches.
Patches in v2 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | platform/chrome: cros_ec_proto: drop unneeded BUG_ON() in prepare_packet()drivers/ | +0 | 0 replies | Applied |
| 2/7 | platform/chrome: correct cros_ec_prepare_tx() usagedrivers/ drivers/ drivers/ +3 more | +14 | 0 replies | Applied |
| 3/7 | platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_prepare_tx()drivers/ | +5 | 0 replies | Applied |
| 4/7 | platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_get_host_event()drivers/ | +2 | 0 replies | Applied |
| 5/7 | platform/chrome: cros_ec_i2c: drop BUG_ON() in cros_ec_pkt_xfer_i2c()drivers/ | +8 | 0 replies | Applied |
| 6/7 | platform/chrome: cros_ec_spi: drop unneeded BUG_ON()drivers/ | +0 | 1 reply | Applied |
| 7/7 | platform/chrome: cros_ec_spi: drop BUG_ON() if `din` isn't large enoughdrivers/ | +6 | 1 reply | Applied |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Guenter Roeck |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] platform/chrome: get rid of BUG_ON()
The series gets rid of BUG_ON()s in drivers/platform/chrome/. Most of them can be replaced by returning proper return code.
The 2nd patch makes callers of cros_ec_prepare_tx() to take care of the return code.
The 3rd patch turns cros_ec_prepare_tx() to return error code if any.
Changes from v1:
(https://patchwork.kernel.org/project/chrome-platform/cover/[email protected]/)
- Split the original 6th patch into 2 smaller patches.
Tzung-Bi Shih (7):
platform/chrome: cros_ec_proto: drop unneeded BUG_ON() in
prepare_packet()
platform/chrome: correct cros_ec_prepare_tx() usage platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_prepare_tx() platform/chrome: cros_ec_proto: drop BUG_ON() in
cros_ec_get_host_event()
platform/chrome: cros_ec_i2c: drop BUG_ON() in cros_ec_pkt_xfer_i2c() platform/chrome: cros_ec_spi: drop unneeded BUG_ON() platform/chrome: cros_ec_spi: drop BUG_ON() if din isn't large
enough
drivers/platform/chrome/cros_ec_i2c.c | 12 ++++++++++-- drivers/platform/chrome/cros_ec_ishtp.c | 4 +++- drivers/platform/chrome/cros_ec_lpc.c | 2 ++ drivers/platform/chrome/cros_ec_proto.c | 13 ++++++++----- drivers/platform/chrome/cros_ec_rpmsg.c | 2 ++ drivers/platform/chrome/cros_ec_spi.c | 15 ++++++++++----- 6 files changed, 35 insertions(+), 13 deletions(-)
Signature · 1 line
2.36.0.550.gb090851708-goog