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

From: Tzung-Bi Shih
Date: Wed Jul 20 2022 - 00:48:28 EST


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/20220718050914.2267370-2-tzungbi@xxxxxxxxxx/#24944149
[2]: https://patchwork.kernel.org/project/chrome-platform/patch/20220718050914.2267370-2-tzungbi@xxxxxxxxxx/

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(-)

--
2.37.0.170.g444d1eabd0-goog