[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110417.174253.55863007.davem@davemloft.net>
Date: Sun, 17 Apr 2011 17:42:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mirq-linux@...e.qmqm.pl
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: chelsio: convert to hw_features
From: Michaİİ Mirosİİaw <mirq-linux@...e.qmqm.pl>
Date: Sun, 17 Apr 2011 12:15:46 +0200 (CEST)
> @@ -1369,6 +1369,7 @@ static void sge_rx(struct sge *sge, struct freelQ *fl, unsigned int len)
> const struct cpl_rx_pkt *p;
> struct adapter *adapter = sge->adapter;
> struct sge_port_stats *st;
> + struct net_device *dev = adapter->port[p->iff].dev;
>
> skb = get_packet(adapter->pdev, fl, len - sge->rx_pkt_pad);
> if (unlikely(!skb)) {
You're now using 'p' before it gets initialzed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists