Skip to content

Commit

Permalink
scsi: ufs: bsg: Let result in struct ufs_bsg_reply be signed int
Browse files Browse the repository at this point in the history
According to the comments in struct ufs_bsg_reply and its usage, the result
should be signed int, not __u32.

Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Bean Huo authored and Martin K. Petersen committed Dec 30, 2022
1 parent ee8c88c commit 3f5145a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/scsi/scsi_bsg_ufs.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ struct ufs_bsg_reply {
* msg and status fields. The per-msgcode reply structure
* will contain valid data.
*/
__u32 result;
int result;

/* If there was reply_payload, how much was received? */
__u32 reply_payload_rcv_len;
Expand Down

0 comments on commit 3f5145a

Please sign in to comment.