lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <your-ad-here.call-01644666270-ext-6500@work.hours>
Date:   Sat, 12 Feb 2022 12:44:30 +0100
From:   Vasily Gorbik <gor@...ux.ibm.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Heiko Carstens <hca@...ux.ibm.com>,
        Alexander Gordeev <agordeev@...ux.ibm.com>,
        Christian Borntraeger <borntraeger@...ibm.com>,
        linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org
Subject: [GIT PULL] s390 updates for 5.17-rc4

Hello Linus,

please pull s390 changes for 5.17-rc4.

Thank you,
Vasily

The following changes since commit dfd42facf1e4ada021b939b4e19c935dcdd55566:

  Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.17-4

for you to fetch changes up to dd9cb842fa9d90653a9b48aba52f89c069f3bc50:

  s390/cio: verify the driver availability for path_event call (2022-02-09 22:55:01 +0100)

----------------------------------------------------------------
s390 updates for 5.17-rc4

- Maintainers and reviewers changes:
  - Add Alexander Gordeev as maintainer for s390.
  - Christian Borntraeger will focus on s390 KVM maintainership and
    stays as s390 reviewer.

- 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.

----------------------------------------------------------------
Christian Borntraeger (1):
      MAINTAINERS: downgrade myself to Reviewer for s390

Heiko Carstens (1):
      MAINTAINERS: add Alexander Gordeev as maintainer for s390

Ilya Leoshkevich (1):
      s390/module: fix building test_modules_helpers.o with clang

Vineeth Vijayan (1):
      s390/cio: verify the driver availability for path_event call

 MAINTAINERS                  | 4 ++--
 arch/s390/lib/test_modules.c | 3 ---
 arch/s390/lib/test_modules.h | 3 +++
 drivers/s390/cio/device.c    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 69a2935daf6c..5c56a172ce11 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16817,8 +16817,8 @@ F:	drivers/video/fbdev/savage/
 S390
 M:	Heiko Carstens <hca@...ux.ibm.com>
 M:	Vasily Gorbik <gor@...ux.ibm.com>
-M:	Christian Borntraeger <borntraeger@...ux.ibm.com>
-R:	Alexander Gordeev <agordeev@...ux.ibm.com>
+M:	Alexander Gordeev <agordeev@...ux.ibm.com>
+R:	Christian Borntraeger <borntraeger@...ux.ibm.com>
 R:	Sven Schnelle <svens@...ux.ibm.com>
 L:	linux-s390@...r.kernel.org
 S:	Supported
diff --git a/arch/s390/lib/test_modules.c b/arch/s390/lib/test_modules.c
index d056baa8fbb0..9894009fc1f2 100644
--- a/arch/s390/lib/test_modules.c
+++ b/arch/s390/lib/test_modules.c
@@ -5,9 +5,6 @@
 
 #include "test_modules.h"
 
-#define DECLARE_RETURN(i) int test_modules_return_ ## i(void)
-REPEAT_10000(DECLARE_RETURN);
-
 /*
  * Test that modules with many relocations are loaded properly.
  */
diff --git a/arch/s390/lib/test_modules.h b/arch/s390/lib/test_modules.h
index 43b5e4b4af3e..6371fcf17684 100644
--- a/arch/s390/lib/test_modules.h
+++ b/arch/s390/lib/test_modules.h
@@ -47,4 +47,7 @@
 	__REPEAT_10000_1(f, 8); \
 	__REPEAT_10000_1(f, 9)
 
+#define DECLARE_RETURN(i) int test_modules_return_ ## i(void)
+REPEAT_10000(DECLARE_RETURN);
+
 #endif
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index cd938a26b76c..3b1cd0c96a74 100644
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -1180,7 +1180,7 @@ static int io_subchannel_chp_event(struct subchannel *sch,
 			else
 				path_event[chpid] = PE_NONE;
 		}
-		if (cdev)
+		if (cdev && cdev->drv && cdev->drv->path_event)
 			cdev->drv->path_event(cdev, path_event);
 		break;
 	}

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ