summaryrefslogtreecommitdiff
path: root/drivers/scsi/smartpqi/smartpqi.h
diff options
context:
space:
mode:
authorKevin Barnett <kevin.barnett@microchip.com>2021-03-11 23:16:26 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-06 06:02:30 +0300
commit06b41e0d1800a33a54e23c6e7b98e7ecc6a9fd78 (patch)
tree2e8c77784bd981b84b19e6a88594f6ad7ae563e2 /drivers/scsi/smartpqi/smartpqi.h
parent7a84a821f194bb1e509219c80efcbff2b4d47e45 (diff)
downloadlinux-06b41e0d1800a33a54e23c6e7b98e7ecc6a9fd78.tar.xz
scsi: smartpqi: Update event handler
Change the data types for event_id and additional_event_id. Link: https://lore.kernel.org/r/161549378628.25025.14338046567871170916.stgit@brunhilda Reviewed-by: Scott Benesh <scott.benesh@microchip.com> Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com> Reviewed-by: Scott Teel <scott.teel@microchip.com> Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com> Signed-off-by: Don Brace <don.brace@microchip.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/smartpqi/smartpqi.h')
-rw-r--r--drivers/scsi/smartpqi/smartpqi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/smartpqi/smartpqi.h b/drivers/scsi/smartpqi/smartpqi.h
index a579d772dce0..a18c1f9afb37 100644
--- a/drivers/scsi/smartpqi/smartpqi.h
+++ b/drivers/scsi/smartpqi/smartpqi.h
@@ -1217,8 +1217,8 @@ struct pqi_io_request {
struct pqi_event {
bool pending;
u8 event_type;
- __le16 event_id;
- __le32 additional_event_id;
+ u16 event_id;
+ u32 additional_event_id;
__le32 ofa_bytes_requested;
__le16 ofa_cancel_reason;
};