From: Bean Huo Date: Thu, 1 Dec 2022 14:04:31 +0000 (+0100) Subject: scsi: ufs: bsg: Let result in struct ufs_bsg_reply be signed int X-Git-Tag: v6.3-rc1~144^2~46^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f5145a6152388ca612461ca96db4f995fa816d2;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Martin K. Petersen --- diff --git a/include/uapi/scsi/scsi_bsg_ufs.h b/include/uapi/scsi/scsi_bsg_ufs.h index d55f2176dfd47..64b0cb33e5497 100644 --- a/include/uapi/scsi/scsi_bsg_ufs.h +++ b/include/uapi/scsi/scsi_bsg_ufs.h @@ -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;