+++ /dev/null
-From 6f5165e864d240d15675cc2fb5a369d57e1f60d0 Mon Sep 17 00:00:00 2001
-From: Heiko Carstens <heiko.carstens@de.ibm.com>
-Date: Mon, 20 Mar 2017 14:29:50 +0100
-Subject: s390/facilites: use stfle_fac_list array size for MAX_FACILITY_BIT
-
-From: Heiko Carstens <heiko.carstens@de.ibm.com>
-
-commit 6f5165e864d240d15675cc2fb5a369d57e1f60d0 upstream.
-
-Use the actual size of the facility list array within the lowcore
-structure for the MAX_FACILITY_BIT define instead of a comment which
-states what this is good for. This makes it a bit harder to break
-things.
-
-Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
-Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/s390/include/asm/facility.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/arch/s390/include/asm/facility.h
-+++ b/arch/s390/include/asm/facility.h
-@@ -11,7 +11,7 @@
- #include <linux/preempt.h>
- #include <asm/lowcore.h>
-
--#define MAX_FACILITY_BIT (256*8) /* stfle_fac_list has 256 bytes */
-+#define MAX_FACILITY_BIT (sizeof(((struct lowcore *)0)->stfle_fac_list) * 8)
-
- static inline void __set_facility(unsigned long nr, void *facilities)
- {
usb-serial-option-reimplement-interface-masking.patch
usb-serial-option-adding-support-for-ublox-r410m.patch
usb-musb-host-fix-potential-null-pointer-dereference.patch
-s390-facilites-use-stfle_fac_list-array-size-for-max_facility_bit.patch
ipvs-fix-rtnl_lock-lockups-caused-by-start_sync_thread.patch
crypto-af_alg-fix-possible-uninit-value-in-alg_bind.patch
netlink-fix-uninit-value-in-netlink_sendmsg.patch