projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8c88c
)
scsi: ufs: bsg: Let result in struct ufs_bsg_reply be signed int
author
Bean Huo
<beanhuo@micron.com>
Thu, 1 Dec 2022 14:04:31 +0000
(15:04 +0100)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 30 Dec 2022 21:01:03 +0000
(21:01 +0000)
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>
include/uapi/scsi/scsi_bsg_ufs.h
patch
|
blob
|
history
diff --git
a/include/uapi/scsi/scsi_bsg_ufs.h
b/include/uapi/scsi/scsi_bsg_ufs.h
index d55f2176dfd470527b694fbb42a011fa4a518278..64b0cb33e54976905bf9f052c9bc4e1b6f9cdc3d 100644
(file)
--- 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;