Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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*

+5 -3
+1
.mailmap
··· 644 644 Quentin Monnet <qmo@kernel.org> <quentin.monnet@netronome.com> 645 645 Quentin Monnet <qmo@kernel.org> <quentin@isovalent.com> 646 646 Quentin Perret <qperret@qperret.net> <quentin.perret@arm.com> 647 + Rae Moar <raemoar63@gmail.com> <rmoar@google.com> 647 648 Rafael J. Wysocki <rjw@rjwysocki.net> <rjw@sisk.pl> 648 649 Rajeev Nandan <quic_rajeevny@quicinc.com> <rajeevny@codeaurora.org> 649 650 Rajendra Nayak <quic_rjendra@quicinc.com> <rnayak@codeaurora.org>
+1 -1
MAINTAINERS
··· 13612 13612 KERNEL UNIT TESTING FRAMEWORK (KUnit) 13613 13613 M: Brendan Higgins <brendan.higgins@linux.dev> 13614 13614 M: David Gow <davidgow@google.com> 13615 - R: Rae Moar <rmoar@google.com> 13615 + R: Rae Moar <raemoar63@gmail.com> 13616 13616 L: linux-kselftest@vger.kernel.org 13617 13617 L: kunit-dev@googlegroups.com 13618 13618 S: Maintained
+1 -1
lib/kunit/kunit-test.c
··· 739 739 740 740 static void test_dev_action(void *priv) 741 741 { 742 - *(void **)priv = (void *)1; 742 + *(long *)priv = 1; 743 743 } 744 744 745 745 static void kunit_device_test(struct kunit *test)
+2 -1
lib/kunit/test.c
··· 745 745 .param_index = ++test.param_index, 746 746 .parent = &test, 747 747 }; 748 - kunit_init_test(&param_test, test_case->name, test_case->log); 748 + kunit_init_test(&param_test, test_case->name, NULL); 749 + param_test.log = test_case->log; 749 750 kunit_run_case_catch_errors(suite, test_case, &param_test); 750 751 751 752 if (param_desc[0] == '\0') {