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

[S390] types: add/fix types.h include in header files

/include/asm/chpid.h:12: include of <linux/types.h> is preferred over <asm/types.h>
/include/asm/chsc.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/cmb.h:28: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/dasd.h:195: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/kvm.h:16: include of <linux/types.h> is preferred over <asm/types.h>
/include/asm/kvm.h:30: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/qeth.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/schid.h:5: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/swab.h:12: include of <linux/types.h> is preferred over <asm/types.h>
/include/asm/swab.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
0680ba01 13de227b

+11 -3
+1 -1
arch/s390/include/asm/chpid.h
··· 9 9 #define _ASM_S390_CHPID_H _ASM_S390_CHPID_H 10 10 11 11 #include <linux/string.h> 12 - #include <asm/types.h> 12 + #include <linux/types.h> 13 13 14 14 #define __MAX_CHPID 255 15 15
+1
arch/s390/include/asm/chsc.h
··· 8 8 #ifndef _ASM_CHSC_H 9 9 #define _ASM_CHSC_H 10 10 11 + #include <linux/types.h> 11 12 #include <asm/chpid.h> 12 13 #include <asm/schid.h> 13 14
+3
arch/s390/include/asm/cmb.h
··· 1 1 #ifndef S390_CMB_H 2 2 #define S390_CMB_H 3 + 4 + #include <linux/types.h> 5 + 3 6 /** 4 7 * struct cmbdata - channel measurement block data for user space 5 8 * @size: size of the stored data
+1
arch/s390/include/asm/dasd.h
··· 14 14 15 15 #ifndef DASD_H 16 16 #define DASD_H 17 + #include <linux/types.h> 17 18 #include <linux/ioctl.h> 18 19 19 20 #define DASD_IOCTL_LETTER 'D'
+1 -1
arch/s390/include/asm/kvm.h
··· 13 13 * Author(s): Carsten Otte <cotte@de.ibm.com> 14 14 * Christian Borntraeger <borntraeger@de.ibm.com> 15 15 */ 16 - #include <asm/types.h> 16 + #include <linux/types.h> 17 17 18 18 /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ 19 19 struct kvm_pic_state {
+1
arch/s390/include/asm/qeth.h
··· 10 10 */ 11 11 #ifndef __ASM_S390_QETH_IOCTL_H__ 12 12 #define __ASM_S390_QETH_IOCTL_H__ 13 + #include <linux/types.h> 13 14 #include <linux/ioctl.h> 14 15 15 16 #define SIOC_QETH_ARP_SET_NO_ENTRIES (SIOCDEVPRIVATE)
+2
arch/s390/include/asm/schid.h
··· 1 1 #ifndef ASM_SCHID_H 2 2 #define ASM_SCHID_H 3 3 4 + #include <linux/types.h> 5 + 4 6 struct subchannel_id { 5 7 __u32 cssid : 8; 6 8 __u32 : 4;
+1 -1
arch/s390/include/asm/swab.h
··· 9 9 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) 10 10 */ 11 11 12 - #include <asm/types.h> 12 + #include <linux/types.h> 13 13 14 14 #ifndef __s390x__ 15 15 # define __SWAB_64_THRU_32__