[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220720044754.4026295-1-tzungbi@kernel.org>
Date: Wed, 20 Jul 2022 04:47:52 +0000
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: bleung@...omium.org, groeck@...omium.org
Cc: chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org,
tzungbi@...nel.org
Subject: [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/20220718050914.2267370-2-tzungbi@kernel.org/#24944149
[2]: https://patchwork.kernel.org/project/chrome-platform/patch/20220718050914.2267370-2-tzungbi@kernel.org/
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
Powered by blists - more mailing lists