scsi: ufs: bsg: Let result in struct ufs_bsg_reply be signed int

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>
This commit is contained in:
Bean Huo 2022-12-01 15:04:31 +01:00 committed by Martin K. Petersen
parent ee8c88cab4
commit 3f5145a615

View File

@ -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;