scsi: qla2xxx: make 1-bit bit-fields unsigned int
authorColin Ian King <colin.king@canonical.com>
Tue, 28 Apr 2020 10:20:13 +0000 (11:20 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 30 Apr 2020 02:10:40 +0000 (22:10 -0400)
commit78b874b7cbf09fbfadfa5f18a347ebef7bbb49fe
tree2cf6d63438c575989dae375881826b63a527d75d
parent20a66f2bf280277ab5bb22e27445153b4eb0ac88
scsi: qla2xxx: make 1-bit bit-fields unsigned int

The bitfields mpi_fw_dump_reading and mpi_fw_dumped are currently signed
which is not recommended as the representation is an implementation defined
behaviour.  Fix this by making the bit-fields unsigned ints.

Link: https://lore.kernel.org/r/20200428102013.1040598-1-colin.king@canonical.com
Fixes: cbb01c2f2f63 ("scsi: qla2xxx: Fix MPI failure AEN (8200) handling")
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h