Skip to content

Commit e3ebac8

Browse files
committed
Merge tag 's390-6.1-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 updates from Alexander Gordeev: - Fix size of incorrectly increased from four to eight bytes TOD field of crash dump save area. As result in case of kdump NT_S390_TODPREG ELF notes section contains correct value and "detected read beyond size of field" compiler warning goes away. - Fix memory leak in cryptographic Adjunct Processors (AP) module on initialization failure path. - Add Gerald Schaefer <[email protected]> and Alexander Gordeev <[email protected]> as S390 memory management maintainers. Also rename the S390 section to S390 ARCHITECTURE to be a bit more precise. * tag 's390-6.1-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: MAINTAINERS: add S390 MM section s390/crashdump: fix TOD programmable field size s390/ap: fix memory leak in ap_init_qci_info()
2 parents 081f359 + adba1a9 commit e3ebac8

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

MAINTAINERS

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18011,7 +18011,7 @@ L: [email protected]
1801118011
S: Maintained
1801218012
F: drivers/video/fbdev/savage/
1801318013

18014-
S390
18014+
S390 ARCHITECTURE
1801518015
M: Heiko Carstens <[email protected]>
1801618016
M: Vasily Gorbik <[email protected]>
1801718017
M: Alexander Gordeev <[email protected]>
@@ -18066,6 +18066,15 @@ L: [email protected]
1806618066
S: Supported
1806718067
F: drivers/s390/net/
1806818068

18069+
S390 MM
18070+
M: Alexander Gordeev <[email protected]>
18071+
M: Gerald Schaefer <[email protected]>
18072+
18073+
S: Supported
18074+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
18075+
F: arch/s390/include/asm/pgtable.h
18076+
F: arch/s390/mm
18077+
1806918078
S390 PCI SUBSYSTEM
1807018079
M: Niklas Schnelle <[email protected]>
1807118080
M: Gerald Schaefer <[email protected]>

arch/s390/kernel/crash_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct save_area {
4646
u64 fprs[16];
4747
u32 fpc;
4848
u32 prefix;
49-
u64 todpreg;
49+
u32 todpreg;
5050
u64 timer;
5151
u64 todcmp;
5252
u64 vxrs_low[16];

drivers/s390/crypto/ap_bus.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,11 @@ static void __init ap_init_qci_info(void)
233233
if (!ap_qci_info)
234234
return;
235235
ap_qci_info_old = kzalloc(sizeof(*ap_qci_info_old), GFP_KERNEL);
236-
if (!ap_qci_info_old)
236+
if (!ap_qci_info_old) {
237+
kfree(ap_qci_info);
238+
ap_qci_info = NULL;
237239
return;
240+
}
238241
if (ap_fetch_qci_info(ap_qci_info) != 0) {
239242
kfree(ap_qci_info);
240243
kfree(ap_qci_info_old);

0 commit comments

Comments
 (0)