diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-04-08 22:56:18 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-04-08 22:56:18 +0000 |
commit | 47ca069c43c45019e40fe40b2115caab4bc256c6 (patch) | |
tree | 01507a46c165c8b9fd3ede7ed80627d81a66c589 /sys/dev | |
parent | 1ebd1ed4353bc44205a4d11169f49d8fdf9c8b0a (diff) | |
download | FreeBSD-src-47ca069c43c45019e40fe40b2115caab4bc256c6.zip FreeBSD-src-47ca069c43c45019e40fe40b2115caab4bc256c6.tar.gz |
Add missing paren
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cxgb/cxgb_lro.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cxgb/cxgb_lro.c b/sys/dev/cxgb/cxgb_lro.c index 6c9a485..39651e0 100644 --- a/sys/dev/cxgb/cxgb_lro.c +++ b/sys/dev/cxgb/cxgb_lro.c @@ -66,14 +66,14 @@ __FBSDID("$FreeBSD$"); #ifdef DEBUG #define MBUF_HEADER_CHECK(m) do { \ - if (m->m_len == 0 || m->m_pkthdr.len == 0 \ - || (m->m_flags & M_PKTHDR) == 0) \ + if ((m->m_len == 0) || (m->m_pkthdr.len == 0) \ + || ((m->m_flags & M_PKTHDR) == 0)) \ panic("lro_flush_session - mbuf len=%d pktlen=%d flags=0x%x\n", \ m->m_len, m->m_pkthdr.len, m->m_flags); \ - if (m->m_flags & M_PKTHDR) == 0) \ + if ((m->m_flags & M_PKTHDR) == 0) \ panic("first mbuf is not packet header - flags=0x%x\n", \ m->m_flags); \ - if (m->m_len < ETHER_HDR_LEN || m->m_pkthdr.len < ETHER_HDR_LEN) \ + if ((m->m_len < ETHER_HDR_LEN) || (m->m_pkthdr.len < ETHER_HDR_LEN)) \ panic("packet too small len=%d pktlen=%d\n", \ m->m_len, m->m_pkthdr.len);\ } while (0) |