mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 11:22:43 +00:00
Whitespace fix after r365948
MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
8463bd8a77
commit
52664466c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365967
@ -168,9 +168,9 @@ update_firmware(int fd, uint8_t *payload, int32_t payload_size, uint8_t fwug)
|
||||
if (fwug != 0 && fwug != 0xFF)
|
||||
max_xfer_size = ((uint64_t)fwug << 12);
|
||||
else if (ioctl(fd, NVME_GET_MAX_XFER_SIZE, &max_xfer_size) < 0)
|
||||
err(1, "query max transfer size failed");
|
||||
if (max_xfer_size > NVME_MAX_XFER_SIZE)
|
||||
max_xfer_size = NVME_MAX_XFER_SIZE;
|
||||
err(1, "query max transfer size failed");
|
||||
if (max_xfer_size > NVME_MAX_XFER_SIZE)
|
||||
max_xfer_size = NVME_MAX_XFER_SIZE;
|
||||
|
||||
if ((chunk = aligned_alloc(PAGE_SIZE, max_xfer_size)) == NULL)
|
||||
errx(1, "unable to malloc %zd bytes", (size_t)max_xfer_size);
|
||||
|
Loading…
Reference in New Issue
Block a user