Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 15:25:10 +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: r348110 - head/sys/cam/nvme
Message-ID:  <201905221525.x4MFPARv008772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed May 22 15:25:10 2019
New Revision: 348110
URL: https://svnweb.freebsd.org/changeset/base/348110

Log:
  Fix condition broken at r345815.
  
  Reported by:	danfe
  MFC after:	3 days

Modified:
  head/sys/cam/nvme/nvme_xpt.c

Modified: head/sys/cam/nvme/nvme_xpt.c
==============================================================================
--- head/sys/cam/nvme/nvme_xpt.c	Wed May 22 13:44:15 2019	(r348109)
+++ head/sys/cam/nvme/nvme_xpt.c	Wed May 22 15:25:10 2019	(r348110)
@@ -769,7 +769,7 @@ nvme_proto_debug_out(union ccb *ccb)
 {
 	char cdb_str[(sizeof(struct nvme_command) * 3) + 1];
 
-	if (ccb->ccb_h.func_code != XPT_NVME_IO ||
+	if (ccb->ccb_h.func_code != XPT_NVME_IO &&
 	    ccb->ccb_h.func_code != XPT_NVME_ADMIN)
 		return;
 



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