Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2019 19:30:28 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350609 - head/sbin/nvmecontrol
Message-ID:  <201908051930.x75JUSr2058608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Aug  5 19:30:28 2019
New Revision: 350609
URL: https://svnweb.freebsd.org/changeset/base/350609

Log:
  Fix alignment issue r350599.
  
  MFC after:	10 days

Modified:
  head/sbin/nvmecontrol/resv.c

Modified: head/sbin/nvmecontrol/resv.c
==============================================================================
--- head/sbin/nvmecontrol/resv.c	Mon Aug  5 19:19:25 2019	(r350608)
+++ head/sbin/nvmecontrol/resv.c	Mon Aug  5 19:30:28 2019	(r350609)
@@ -351,7 +351,7 @@ resvreport(const struct cmd *f, int argc, char *argv[]
 	struct nvme_pt_command	pt;
 	struct nvme_resv_status	*s;
 	struct nvme_resv_status_ext *e;
-	uint8_t		data[4096];
+	uint8_t		data[4096] __aligned(4);
 	int		fd;
 	u_int		i, n;
 	uint32_t	nsid;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908051930.x75JUSr2058608>