Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646501

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

From Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Newsgroups linux.kernel
Subject Re: linux-next: build failure after merge of the net-next tree
Date 2017-05-22 05:50 +0200
Message-ID <tJMw2-83-13@gated-at.bofh.it> (permalink)
References <tJKaR-6Zo-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, May 21, 2017 at 9:16 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> net/socket.c: In function 'put_ts_pktinfo':
> net/socket.c:695:28: error: 'SCM_TIMESTAMPING_PKTINFO' undeclared (first use in this function)
>   put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO,
>                             ^
>
> Caused by commit
>
>   aad9c8c470f2 ("net: add new control message for incoming HW-timestamped packets")
>
> This probably broke every architecture that has its own
> arch/<arch>/include/uapi/asm/socket.h that does not include
> include/uapi/asm-generic/socket.h :-(

Indeed. I added the architecture specific versions in patch

  http://patchwork.ozlabs.org/patch/765238/

That fixes the powerpc build for me. The new option is now
defined in every file that also defines the last added such
option SCM_TIMESTAMPING_OPT_STATS. Apologies for
missing this earlier.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

linux-next: build failure after merge of the net-next tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-22 03:20 +0200
  Re: linux-next: build failure after merge of the net-next tree David Miller <davem@davemloft.net> - 2017-05-22 05:20 +0200
    Re: linux-next: build failure after merge of the net-next tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-22 05:50 +0200
      Re: linux-next: build failure after merge of the net-next tree David Miller <davem@davemloft.net> - 2017-05-22 16:20 +0200
  Re: linux-next: build failure after merge of the net-next tree Willem de Bruijn <willemdebruijn.kernel@gmail.com> - 2017-05-22 05:50 +0200

csiph-web