Author: kevans
Date: Thu Feb 22 16:16:49 2018
New Revision: 329827
URL: https://svnweb.freebsd.org/changeset/base/329827

Log:
  nvme: Unbreak LE builds after r329824
  
  The parameter 'p' is unused if _BYTE_ORDER == _LITTLE_ENDIAN. Add in a
  (void)p to fix the build.

Modified:
  head/sys/dev/nvme/nvme.h

Modified: head/sys/dev/nvme/nvme.h
==============================================================================
--- head/sys/dev/nvme/nvme.h    Thu Feb 22 15:29:57 2018        (r329826)
+++ head/sys/dev/nvme/nvme.h    Thu Feb 22 16:16:49 2018        (r329827)
@@ -1196,6 +1196,8 @@ void      nvme_le128toh(void *p)
                tmp[i] = tmp[15-i];
                tmp[15-i] = b;
        }
+#else
+       (void)p;
 #endif
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to