mirror of https://github.com/torvalds/linux.git
linux_kselftest-kunit-fixes-6.18-rc4
Fixes log overwrite in param_tests and fixes incorrect cast of priv pointer in test_dev_action(). Updates email address for Rae Moar in MAINTAINERS KUnit entry. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEPZKym/RZuOCGeA/kCwJExA0NQxwFAmkDxT0ACgkQCwJExA0N QxyDaxAAxyE7WU1vUg7AakYo80p5wku/ehahQCicePW0cvKiSwI+VJ3o4A9e7qxI l0xnvLaisqPzwrSZ4GxCi/0L50OpoFTCAyEeey88tNeqEcjR/b4CDYfJoftCau+b /4+jluhuCbSC3HQbq77aww1Vgoo184hisAdCvRj0qiPKLk7+D4x1xKMKGCBZYyNP Jq2sb4H7TJ9rKpRoN9xi+9YWmJGI8EPQHJ1A4FBoS2vk6JyOGlbpJcID1XROtNwz 19tQ9eNarcHSq7yf/Z20BHv0v53ZEvn/c9GYEd1Z5/NtAvPIbyY1U8EhDH9smoAs 0+bDUddZOj1JoQ5Q5TXTx7onKLFpecAIhSGPjBn7mETmIdv0lbtfcJ6aBe0FQTz3 jFfSOBPwd1ng5RVM6FXsJf+JW11Cyba/reGvgtcZDrg8hMluIWUK4N3761KYQnt/ +IoJeJ3A791HNzLDoXKeA6uR0w55LtkJpEnDWi1UqAZE+OOUSx+p1LcGgUAIHxyU MRaIS4+ZoeVmgopQCSDk2KbiCp8d+yek6Upbm5ivNrwJ00MZqgH5oZA/O8W/shMw 0vjc7mVTpefCSq3EudkQKCT+cB7nh3WAH6devsUNuZlQ7kL1o5Css5bmVF0Iswa7 j+KFuZEiOlOmZgQ+zpzrQWgI+Pu+ZqQg4W8KA3NXwg86blARRfg= =stUG -----END PGP SIGNATURE----- Merge tag 'linux_kselftest-kunit-fixes-6.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest Pull kunit fixes from Shuah Khan: "Fix log overwrite in param_tests and fixes incorrect cast of priv pointer in test_dev_action(). Update email address for Rae Moar in MAINTAINERS KUnit entry" * tag 'linux_kselftest-kunit-fixes-6.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: MAINTAINERS: Update KUnit email address for Rae Moar kunit: prevent log overwrite in param_tests kunit: test_dev_action: Correctly cast 'priv' pointer to long*
This commit is contained in:
commit
1806838686
1
.mailmap
1
.mailmap
|
|
@ -644,6 +644,7 @@ Qais Yousef <qyousef@layalina.io> <qais.yousef@arm.com>
|
||||||
Quentin Monnet <qmo@kernel.org> <quentin.monnet@netronome.com>
|
Quentin Monnet <qmo@kernel.org> <quentin.monnet@netronome.com>
|
||||||
Quentin Monnet <qmo@kernel.org> <quentin@isovalent.com>
|
Quentin Monnet <qmo@kernel.org> <quentin@isovalent.com>
|
||||||
Quentin Perret <qperret@qperret.net> <quentin.perret@arm.com>
|
Quentin Perret <qperret@qperret.net> <quentin.perret@arm.com>
|
||||||
|
Rae Moar <raemoar63@gmail.com> <rmoar@google.com>
|
||||||
Rafael J. Wysocki <rjw@rjwysocki.net> <rjw@sisk.pl>
|
Rafael J. Wysocki <rjw@rjwysocki.net> <rjw@sisk.pl>
|
||||||
Rajeev Nandan <quic_rajeevny@quicinc.com> <rajeevny@codeaurora.org>
|
Rajeev Nandan <quic_rajeevny@quicinc.com> <rajeevny@codeaurora.org>
|
||||||
Rajendra Nayak <quic_rjendra@quicinc.com> <rnayak@codeaurora.org>
|
Rajendra Nayak <quic_rjendra@quicinc.com> <rnayak@codeaurora.org>
|
||||||
|
|
|
||||||
|
|
@ -13612,7 +13612,7 @@ F: fs/smb/server/
|
||||||
KERNEL UNIT TESTING FRAMEWORK (KUnit)
|
KERNEL UNIT TESTING FRAMEWORK (KUnit)
|
||||||
M: Brendan Higgins <brendan.higgins@linux.dev>
|
M: Brendan Higgins <brendan.higgins@linux.dev>
|
||||||
M: David Gow <davidgow@google.com>
|
M: David Gow <davidgow@google.com>
|
||||||
R: Rae Moar <rmoar@google.com>
|
R: Rae Moar <raemoar63@gmail.com>
|
||||||
L: linux-kselftest@vger.kernel.org
|
L: linux-kselftest@vger.kernel.org
|
||||||
L: kunit-dev@googlegroups.com
|
L: kunit-dev@googlegroups.com
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
|
||||||
|
|
@ -739,7 +739,7 @@ static struct kunit_case kunit_current_test_cases[] = {
|
||||||
|
|
||||||
static void test_dev_action(void *priv)
|
static void test_dev_action(void *priv)
|
||||||
{
|
{
|
||||||
*(void **)priv = (void *)1;
|
*(long *)priv = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void kunit_device_test(struct kunit *test)
|
static void kunit_device_test(struct kunit *test)
|
||||||
|
|
|
||||||
|
|
@ -745,7 +745,8 @@ int kunit_run_tests(struct kunit_suite *suite)
|
||||||
.param_index = ++test.param_index,
|
.param_index = ++test.param_index,
|
||||||
.parent = &test,
|
.parent = &test,
|
||||||
};
|
};
|
||||||
kunit_init_test(¶m_test, test_case->name, test_case->log);
|
kunit_init_test(¶m_test, test_case->name, NULL);
|
||||||
|
param_test.log = test_case->log;
|
||||||
kunit_run_case_catch_errors(suite, test_case, ¶m_test);
|
kunit_run_case_catch_errors(suite, test_case, ¶m_test);
|
||||||
|
|
||||||
if (param_desc[0] == '\0') {
|
if (param_desc[0] == '\0') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue