[nf-next:nexpr-wip 38/41] net/netfilter/nft_counter.c:72:21: error: call to '__xchg_wrong_size' declared with attribute error: Bad argument size for xchg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git nexpr-wip
head:   79fecc65dbc173c5c12e0fa33997e4b8cae10d41
commit: 3593c74388e4faafa88c04cbb8e0a6792d4600eb [38/41] netfilter: nft_counter: support for atomic dump and reset
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 3593c74388e4faafa88c04cbb8e0a6792d4600eb
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/netfilter/nft_counter.c: In function 'nft_counter_fetch':
>> net/netfilter/nft_counter.c:72:21: error: call to '__xchg_wrong_size' declared with attribute error: Bad argument size for xchg
       }
                        ^                  
   net/netfilter/nft_counter.c:73:7: error: call to '__xchg_wrong_size' declared with attribute error: Bad argument size for xchg
      } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, seq));
          ^~~~~~~~~~~~~~~~~~~

vim +/__xchg_wrong_size +72 net/netfilter/nft_counter.c

    66				if (reset) {
    67					packets += xchg(&cpu_stats->counter.packets, 0);
    68					bytes	+= xchg(&cpu_stats->counter.bytes, 0);
    69				} else {
    70					bytes	= cpu_stats->counter.bytes;
    71					packets	= cpu_stats->counter.packets;
  > 72				}
    73			} while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, seq));
    74	
    75			total->packets += packets;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux