Subject: Re: linux-next: build failure after merge of the net-next tree

From: Jeff Kirsher <[email-masked]>
Date: Tue, 10 Feb 2015 20:51:33 -0800

On Tue, 2015-02-10 at 22:02 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net-next tree, today's linux-next build (i386
> allmodconfig and a few others) failed like this:
> 
> drivers/net/ethernet/intel/i40e/i40e_txrx.c: In function
> 'i40e_setup_rx_descriptors':
> drivers/net/ethernet/intel/i40e/i40e_txrx.c:1101:3: error:
> incompatible type for argument 1 of '__seqcount_init'
> include/linux/seqlock.h:53:20: note: expected 'struct seqcount_t *'
> but argument is of type 'seqcount_t'
> 
> Caused by commit 638702bd59a3 ("i40e/i40evf: Add call to
> u64_stats_init
> to init").
> 
> Discovered after the release, so no fix done.
> 
> The indentation of the lines added by that patch is also a bit
> strange.

Yeah, this was fixed with the follow on patch:

commit c07a213db1437a8fd40c328e6a2c426723caec65
Author: Carolyn Wyborny <[email-masked]>
Date:   Tue Feb 10 07:33:15 2015 +0000

    i40e: Fix for stats init function call in Rx setup
    
    This patch fixes indentation issue and error found in argument
    reported by static analysis.  Without this patch, sparse and other
    static analysis errors will be found.
    
    Reported-by: Fengguang Wu <[email-masked]>
    Reported-by: Julia Lawall <[email-masked]>
    Signed-off-by: Carolyn Wyborny <[email-masked]>
    Signed-off-by: Jeff Kirsher <[email-masked]>