hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/esas2r/esas2r.h
....@@ -965,8 +965,8 @@
965965 const char *esas2r_info(struct Scsi_Host *);
966966 int esas2r_write_params(struct esas2r_adapter *a, struct esas2r_request *rq,
967967 struct esas2r_sas_nvram *data);
968
-int esas2r_ioctl_handler(void *hostdata, int cmd, void __user *arg);
969
-int esas2r_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
968
+int esas2r_ioctl_handler(void *hostdata, unsigned int cmd, void __user *arg);
969
+int esas2r_ioctl(struct scsi_device *dev, unsigned int cmd, void __user *arg);
970970 u8 handle_hba_ioctl(struct esas2r_adapter *a,
971971 struct atto_ioctl *ioctl_hba);
972972 int esas2r_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd);
....@@ -1225,8 +1225,9 @@
12251225
12261226 /* req_table entry should be NULL at this point - if not, halt */
12271227
1228
- if (a->req_table[LOWORD(vrq->scsi.handle)])
1228
+ if (a->req_table[LOWORD(vrq->scsi.handle)]) {
12291229 esas2r_bugon();
1230
+ }
12301231
12311232 /* fill in the table for this handle so we can get back to the
12321233 * request.