Author: eadler
Date: Tue Apr 23 13:02:57 2013
New Revision: 249800
URL: http://svnweb.freebsd.org/changeset/base/249800

Log:
  Avoid warning about uninitalized variable
  
  PR:           kern/176712
  Submitted by: Hiren Panchasara <[email protected]> (earlier vesion)
  Approved by:  cperciva (mentor)

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c   Tue Apr 23 13:02:55 2013        (r249799)
+++ head/sys/dev/bwn/if_bwn.c   Tue Apr 23 13:02:57 2013        (r249800)
@@ -9183,6 +9183,7 @@ bwn_dma_newbuf(struct bwn_dma_ring *dr, 
        struct mbuf *m;
        int error;
 
+       paddr = 0;
        m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
        if (m == NULL) {
                error = ENOBUFS;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to