From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48AA9C76195 for ; Mon, 15 Jul 2019 16:43:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1DD79206B8 for ; Mon, 15 Jul 2019 16:43:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XFtS7SqP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731549AbfGOQnn (ORCPT ); Mon, 15 Jul 2019 12:43:43 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39776 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730874AbfGOQnm (ORCPT ); Mon, 15 Jul 2019 12:43:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RSkHGbyKshnf7brwgRog4FDJoLltbAeNAqTZqLgrOwY=; b=XFtS7SqPr0O7CD4ceZo/N+zxa Hp78Ke84ABnLHxgSSlz/cF6IDlSJ+dVng6vqz0iHJN2WXypfdOfQATpnB2Qngv2wROo6A9xTfv73y MJmxV6xSY7elM3bt0d+cBRu1NU0Ej6musiTFiT2wIy/q9yuQIfXayyN1Fd/M8qVxNRxk/LCfkXXan qookMFgHS40TQrNxj+eJ1k7jJNSzqOS2SU+ySJbRnBC2PLsio09Fgco20A17UENfISYGeK+LeQM2b 3gzqN2zhvwdewf8JZadvhnZqEDXkIYBIe69pdDn5dBZa4jO8e32l5FdLbl1nRPNmyMB059dVdF13L AXNvXk2Jg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=[192.168.1.17]) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hn44f-0006wc-9g; Mon, 15 Jul 2019 16:43:41 +0000 Subject: Re: linux-next: Tree for Jul 15 (HEADERS_TEST w/ netfilter tables offload) To: Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , linux-kbuild , Masahiro Yamada , "netdev@vger.kernel.org" References: <20190715144848.4cc41e07@canb.auug.org.au> From: Randy Dunlap Message-ID: Date: Mon, 15 Jul 2019 09:43:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190715144848.4cc41e07@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/14/19 9:48 PM, Stephen Rothwell wrote: > Hi all, > > Please do not add v5.4 material to your linux-next included branches > until after v5.3-rc1 has been released. > > Changes since 20190712: > Hi, I am seeing these build errors from HEADERS_TEST (or KERNEL_HEADERS_TEST) for include/net/netfilter/nf_tables_offload.h.s: CC include/net/netfilter/nf_tables_offload.h.s In file included from ./../include/net/netfilter/nf_tables_offload.h:5:0, from :0: ../include/net/netfilter/nf_tables.h: In function ‘nft_gencursor_next’: ../include/net/netfilter/nf_tables.h:1223:14: error: ‘const struct net’ has no member named ‘nft’; did you mean ‘nf’? return net->nft.gencursor + 1 == 1 ? 1 : 0; ^~~ nf In file included from ../include/linux/kernel.h:11:0, from ../include/net/flow_offload.h:4, from ./../include/net/netfilter/nf_tables_offload.h:4, from :0: ../include/net/netfilter/nf_tables.h: In function ‘nft_genmask_cur’: ../include/net/netfilter/nf_tables.h:1234:29: error: ‘const struct net’ has no member named ‘nft’; did you mean ‘nf’? return 1 << READ_ONCE(net->nft.gencursor); ^ ../include/linux/compiler.h:261:17: note: in definition of macro ‘__READ_ONCE’ union { typeof(x) __val; char __c[1]; } __u; \ ^ ../include/net/netfilter/nf_tables.h:1234:14: note: in expansion of macro ‘READ_ONCE’ return 1 << READ_ONCE(net->nft.gencursor); ^~~~~~~~~ ../include/net/netfilter/nf_tables.h:1234:29: error: ‘const struct net’ has no member named ‘nft’; did you mean ‘nf’? return 1 << READ_ONCE(net->nft.gencursor); ^ ../include/linux/compiler.h:263:22: note: in definition of macro ‘__READ_ONCE’ __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ ../include/net/netfilter/nf_tables.h:1234:14: note: in expansion of macro ‘READ_ONCE’ return 1 << READ_ONCE(net->nft.gencursor); ^~~~~~~~~ ../include/net/netfilter/nf_tables.h:1234:29: error: ‘const struct net’ has no member named ‘nft’; did you mean ‘nf’? return 1 << READ_ONCE(net->nft.gencursor); ^ ../include/linux/compiler.h:263:42: note: in definition of macro ‘__READ_ONCE’ __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ ../include/net/netfilter/nf_tables.h:1234:14: note: in expansion of macro ‘READ_ONCE’ return 1 << READ_ONCE(net->nft.gencursor); ^~~~~~~~~ ../include/net/netfilter/nf_tables.h:1234:29: error: ‘const struct net’ has no member named ‘nft’; did you mean ‘nf’? return 1 << READ_ONCE(net->nft.gencursor); ^ ../include/linux/compiler.h:265:30: note: in definition of macro ‘__READ_ONCE’ __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ ../include/net/netfilter/nf_tables.h:1234:14: note: in expansion of macro ‘READ_ONCE’ return 1 << READ_ONCE(net->nft.gencursor); ^~~~~~~~~ ../include/net/netfilter/nf_tables.h:1234:29: error: ‘const struct net’ has no member named ‘nft’; did you mean ‘nf’? return 1 << READ_ONCE(net->nft.gencursor); ^ ../include/linux/compiler.h:265:50: note: in definition of macro ‘__READ_ONCE’ __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ ../include/net/netfilter/nf_tables.h:1234:14: note: in expansion of macro ‘READ_ONCE’ return 1 << READ_ONCE(net->nft.gencursor); ^~~~~~~~~ make[2]: *** [../scripts/Makefile.build:304: include/net/netfilter/nf_tables_offload.h.s] Error 1 Should this header file not be tested? thanks. -- ~Randy