PERFORCE change 135611 for review

Kip Macy kmacy at FreeBSD.org
Sun Feb 17 16:43:00 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=135611

Change 135611 by kmacy at kmacy:entropy:iwarp on 2008/02/18 00:42:45

	improve error message

Affected files ...

.. //depot/projects/iwarp/sys/dev/cxgb/cxgb_offload.c#18 edit

Differences ...

==== //depot/projects/iwarp/sys/dev/cxgb/cxgb_offload.c#18 (text+ko) ====

@@ -473,8 +473,8 @@
 static int
 rx_offload_blackhole(struct t3cdev *dev, struct mbuf **m, int n)
 {
-	CH_ERR(tdev2adap(dev), "%d unexpected offload packets, first data 0x%x\n",
-	    n, *mtod(m[0], uint32_t *));
+	CH_ERR(tdev2adap(dev), "%d unexpected offload packets, first data 0x%02x\n",
+	    n, (0xff & *mtod(m[0], uint32_t *)));
 	while (n--)
 		m_freem(m[n]);
 	return 0;


More information about the p4-projects mailing list