From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762403AbZCZXxy (ORCPT ); Thu, 26 Mar 2009 19:53:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762194AbZCZXx3 (ORCPT ); Thu, 26 Mar 2009 19:53:29 -0400 Received: from sj-iport-1.cisco.com ([171.71.176.70]:18116 "EHLO sj-iport-1.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762315AbZCZXx1 (ORCPT ); Thu, 26 Mar 2009 19:53:27 -0400 X-IronPort-AV: E=Sophos;i="4.38,429,1233532800"; d="scan'208";a="162385127" From: Roland Dreier To: Linus Torvalds Cc: David Miller , akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: RDMA/nes: Fix mis-merge References: <20090326.152515.43533230.davem@davemloft.net> <20090326.163114.131582923.davem@davemloft.net> X-Message-Flag: Warning: May contain useful information Date: Thu, 26 Mar 2009 16:53:25 -0700 In-Reply-To: (Linus Torvalds's message of "Thu, 26 Mar 2009 16:41:15 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 26 Mar 2009 23:53:25.0383 (UTC) FILETIME=[0D8E3970:01C9AE6E] Authentication-Results: sj-dkim-1; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Btw, as far as I can tell, that function had never been tested with any > polling. It had a line like > > netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, 128); > > but that line was _before_ 'nesvnic' was actually initialized (well, it > had been initialized to NULL, so it passed in some NULL-pointer-offset to > that function). Yes, looks like the bug was introduced by d0929553 ("infiniband: convert nes driver to net_device_ops"). And unfortunately the nesvnic=NULL initialization stopped gcc from warning about used-uninitialized I guess. I'll test the final merge out... - R.