Skip to content

Commit a4fd49c

Browse files
committed
Merge tag 's390-5.17-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 updates from Vasily Gorbik: "Maintainers and reviewers changes: - Add Alexander Gordeev as maintainer for s390. - Christian Borntraeger will focus on s390 KVM maintainership and stays as s390 reviewer. Fixes: - Fix clang build of modules loader KUnit test. - Fix kernel panic in CIO code on FCES path-event when no driver is attached to a device or the driver does not provide the path_event function" * tag 's390-5.17-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/cio: verify the driver availability for path_event call s390/module: fix building test_modules_helpers.o with clang MAINTAINERS: downgrade myself to Reviewer for s390 MAINTAINERS: add Alexander Gordeev as maintainer for s390
2 parents 4a387c9 + dd9cb84 commit a4fd49c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16833,8 +16833,8 @@ F: drivers/video/fbdev/savage/
1683316833
S390
1683416834
M: Heiko Carstens <[email protected]>
1683516835
M: Vasily Gorbik <[email protected]>
16836-
M: Christian Borntraeger <borntraeger@linux.ibm.com>
16837-
R: Alexander Gordeev <agordeev@linux.ibm.com>
16836+
M: Alexander Gordeev <agordeev@linux.ibm.com>
16837+
R: Christian Borntraeger <borntraeger@linux.ibm.com>
1683816838
R: Sven Schnelle <[email protected]>
1683916839
1684016840
S: Supported

arch/s390/lib/test_modules.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
#include "test_modules.h"
77

8-
#define DECLARE_RETURN(i) int test_modules_return_ ## i(void)
9-
REPEAT_10000(DECLARE_RETURN);
10-
118
/*
129
* Test that modules with many relocations are loaded properly.
1310
*/

arch/s390/lib/test_modules.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@
4747
__REPEAT_10000_1(f, 8); \
4848
__REPEAT_10000_1(f, 9)
4949

50+
#define DECLARE_RETURN(i) int test_modules_return_ ## i(void)
51+
REPEAT_10000(DECLARE_RETURN);
52+
5053
#endif

drivers/s390/cio/device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ static int io_subchannel_chp_event(struct subchannel *sch,
11801180
else
11811181
path_event[chpid] = PE_NONE;
11821182
}
1183-
if (cdev)
1183+
if (cdev && cdev->drv && cdev->drv->path_event)
11841184
cdev->drv->path_event(cdev, path_event);
11851185
break;
11861186
}

0 commit comments

Comments
 (0)