Author: sephe
Date: Tue Jul 12 05:41:34 2016
New Revision: 302622
URL: https://svnweb.freebsd.org/changeset/base/302622

Log:
  ntb: Fix LINT
  
  Sponsored by: Microsoft OSTC

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

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw.c    Tue Jul 12 05:31:33 2016        
(r302621)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c    Tue Jul 12 05:41:34 2016        
(r302622)
@@ -617,8 +617,6 @@ SYSCTL_UQUAD(_hw_ntb_xeon_b2b, OID_AUTO,
  */
 MALLOC_DEFINE(M_NTB, "ntb_hw", "ntb_hw driver memory allocations");
 
-SYSCTL_NODE(_hw, OID_AUTO, ntb, CTLFLAG_RW, 0, "NTB sysctls");
-
 /*
  * OS <-> Driver linkage functions
  */

Modified: head/sys/dev/ntb/ntb_transport.c
==============================================================================
--- head/sys/dev/ntb/ntb_transport.c    Tue Jul 12 05:31:33 2016        
(r302621)
+++ head/sys/dev/ntb/ntb_transport.c    Tue Jul 12 05:41:34 2016        
(r302622)
@@ -882,7 +882,7 @@ ntb_memcpy_rx(struct ntb_transport_qp *q
        /* Ensure that the data is globally visible before clearing the flag */
        wmb();
 
-       CTR2(KTR_NTB, "RX: copied entry %p to mbuf %p.", entry, m);
+       CTR2(KTR_NTB, "RX: copied entry %p to mbuf %p.", entry, entry->buf);
        ntb_rx_copy_callback(qp, entry);
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to