Skip to content

platform/chrome: avoid garbage bytes in `msg->result`

Tzung-Bi Shih chrome-platform lkml 1 version Applied

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

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2platform/chrome: merge Kunit utils and test casesdrivers/platform/chrome/Kconfig drivers/platform/chrome/Makefile drivers/platform/chrome/cros_kunit_util.c+5 -241 replyApplied
2/2platform/chrome: cros_kunit_util: add default value for `msg->result`drivers/platform/chrome/cros_kunit_util.c drivers/platform/chrome/cros_kunit_util.h+6 -11 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGuenter Roeck
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] platform/chrome: avoid garbage bytes in `msg->result`

The 1st patch merges Kunit utils and test cases. The idea is basically from the review comment in [1].

The 2nd patch fixes that msg->result would be garbage bytes if the mock list is empty. This is separated from previous series [2].

[1]: https://patchwork.kernel.org/project/chrome-platform/patch/[email protected]/#24944149
[2]: https://patchwork.kernel.org/project/chrome-platform/patch/[email protected]/

Tzung-Bi Shih (2):
platform/chrome: merge Kunit utils and test cases platform/chrome: cros_kunit_util: add default value for msg->result

 drivers/platform/chrome/Kconfig           | 10 ++--------
 drivers/platform/chrome/Makefile          |  5 +++--
 drivers/platform/chrome/cros_kunit_util.c | 20 +++++---------------
 drivers/platform/chrome/cros_kunit_util.h |  1 +
 4 files changed, 11 insertions(+), 25 deletions(-)
Signature · 1 line
2.37.0.170.g444d1eabd0-goog