Date: Thu, 22 Feb 2018 16:16:50 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329827 - head/sys/dev/nvme Message-ID: <201802221616.w1MGGoLZ087022@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802221616.w1MGGoLZ087022>