svn commit: r350718 - stable/12/sys/cam/nvme

Alexander Motin mav at FreeBSD.org
Thu Aug 8 02:02:02 UTC 2019


Author: mav
Date: Thu Aug  8 02:02:01 2019
New Revision: 350718
URL: https://svnweb.freebsd.org/changeset/base/350718

Log:
  MFC r348110: Fix condition broken at r345815.

Modified:
  stable/12/sys/cam/nvme/nvme_xpt.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/cam/nvme/nvme_xpt.c
==============================================================================
--- stable/12/sys/cam/nvme/nvme_xpt.c	Thu Aug  8 02:01:01 2019	(r350717)
+++ stable/12/sys/cam/nvme/nvme_xpt.c	Thu Aug  8 02:02:01 2019	(r350718)
@@ -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;
 


More information about the svn-src-all mailing list