History

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.

Bean Huo committed 3 years ago

Commit 3f5145a1 parent ee8c88c1 file · +1 −1Browse files

Unified · Split

include/uapi/scsi/scsi_bsg_ufs.h+1−1
@@ -95,7 +95,7 @@ struct ufs_bsg_reply { · 94 unmodified lines
9595 * msg and status fields. The per-msgcode reply structure
9696 * will contain valid data.
9797 */
98− __u32 result;
98+ int result;
9999
100100 /* If there was reply_payload, how much was received? */
101101 __u32 reply_payload_rcv_len;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t