svn commit: r366973 - head/sys/dev/ntb/ntb_hw

Mark Johnston markj at FreeBSD.org
Fri Oct 23 15:12:07 UTC 2020


Author: markj
Date: Fri Oct 23 15:12:06 2020
New Revision: 366973
URL: https://svnweb.freebsd.org/changeset/base/366973

Log:
  ntb: Fix the 32-bit build after r366969
  
  Reported by:	Jenkins
  MFC with:	r366969

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Fri Oct 23 14:56:17 2020	(r366972)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Fri Oct 23 15:12:06 2020	(r366973)
@@ -3353,7 +3353,8 @@ intel_ntb_peer_db_set(device_t dev, uint64_t bits)
 	uint64_t db;
 
 	if ((bits & ~ntb->db_valid_mask) != 0) {
-		device_printf(ntb->device, "Invalid doorbell bits %lx\n", bits);
+		device_printf(ntb->device, "Invalid doorbell bits %#jx\n",
+		    (uintmax_t)bits);
 		return;
 	}
 


More information about the svn-src-all mailing list