mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
nvme: add missing endianess annotations in nvme_pr_command
Reported-by: kbuild test robot <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Fixes: ad4fd3610c27 ("NVMe: Add persistent reservation ops") Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
1d277a637a
commit
a6dd1020d8
1 changed files with 2 additions and 2 deletions
|
|
@ -2094,8 +2094,8 @@ static int nvme_pr_command(struct block_device *bdev, u32 cdw10,
|
|||
|
||||
memset(&c, 0, sizeof(c));
|
||||
c.common.opcode = op;
|
||||
c.common.nsid = ns->ns_id;
|
||||
c.common.cdw10[0] = cdw10;
|
||||
c.common.nsid = cpu_to_le32(ns->ns_id);
|
||||
c.common.cdw10[0] = cpu_to_le32(cdw10);
|
||||
|
||||
return nvme_submit_sync_cmd(ns->queue, &c, data, 16);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue