svn commit: r365967 - head/sbin/nvmecontrol

David Bright dab at FreeBSD.org
Mon Sep 21 18:34:14 UTC 2020


Author: dab
Date: Mon Sep 21 18:34:13 2020
New Revision: 365967
URL: https://svnweb.freebsd.org/changeset/base/365967

Log:
  Whitespace fix after r365948
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sbin/nvmecontrol/firmware.c

Modified: head/sbin/nvmecontrol/firmware.c
==============================================================================
--- head/sbin/nvmecontrol/firmware.c	Mon Sep 21 18:32:57 2020	(r365966)
+++ head/sbin/nvmecontrol/firmware.c	Mon Sep 21 18:34:13 2020	(r365967)
@@ -168,9 +168,9 @@ update_firmware(int fd, uint8_t *payload, int32_t payl
 	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);


More information about the svn-src-all mailing list