s390/sclp: clean up, use sccb_mask_t where appropriate
authorClaudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Tue, 23 Jan 2018 14:07:09 +0000 (15:07 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Feb 2018 14:31:23 +0000 (15:31 +0100)
commit0ee5f8dcd69d3db8d4e63e79f2962d328c48531f
tree1ac44cce8b657d6b2f1255f658cb5ffb105a8fe5
parentddc1c9453550eabd6284021b167f708982df3ca9
s390/sclp: clean up, use sccb_mask_t where appropriate

Replace hardcoded instances where 32 or unsigned int (or long) is used
for SCLP event masks, and replace with sizeof(sccb_mask_t) and
sccb_mask_t respectively.

This improves readability and prepares for when we will increase
sccb_mask_t to 64 bits.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_early_core.c