Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3427827pxf; Mon, 29 Mar 2021 01:48:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9powAoMsHcR1ZOHY93zHpMWjqhP1NytGh3CcDNIEXjSr59JYTQZ4UkAitwzZZsoy1ZTKd X-Received: by 2002:a50:eb8f:: with SMTP id y15mr27671854edr.115.1617007737422; Mon, 29 Mar 2021 01:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617007737; cv=none; d=google.com; s=arc-20160816; b=jx531FFgDQuCUuD5gue1JLzwD7Utciwyn6pb3juGl5+hbKc/BBZ2YxdtKoyb4ll+sh DAZWUgPE/kUQoPcMVhKy7sUE4yK8CkTREZbLDS4BQUzfpFP+7xpZwDAJXnEpXTFrvtg5 Y/ioyZqL+zKCgwnjcGgIS6Bwg7AwTZoMtUAzoW2W2/MTjRM+BwxxyGxk0z/DybNJ22nx ZLGbh8QqS6V38kCb4apetqcwG8V57J06/d8Xyxv7QqGlH57KJN1gaqLiafAWspYSQehe fHqq98JrEyinD4REMef8l3uDQ7h8JJR3j2XUz/OIBv638OsRpS2/YLEh4VRGHY1E0P9u 3Vbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zk0Gbd3YvZUDEfTpNPL5QSpZw7gTVP3YO60kykKGUEc=; b=A6bQ/qCX1jq80hD9RuQhFhuwnG8RAVCAn2CHVpLD0IfhOKqP/WYSMo+7SlYC43/XL9 pSwcmoGZxUsBpNUR6J+OlmLzLJ+9d/h2tQ9m/NAVz1oLVFHnOBVNOcVm1T7OQXWh4WCu 1nYY9Nw6Y7IGaTz6jKVSRz5CuiJkCF7aGeNW4VF8jhPr+qiZvIRKm2QR37Hu/k5OBZ2F 6F7cwJmrYvA951hIC7yempAoOQLudux1bGZeLQCGVsa5KIDeH9hsnwOhe1FxFgRFfPOD D1j3Ncsy832URy0yvDMiUwicHjzQWpxU5fVVjADIpTmaE7FDv/QFWY+WRsgtaqPhGQcu g6yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gd8D3rrr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd42si12894827ejc.727.2021.03.29.01.48.35; Mon, 29 Mar 2021 01:48:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gd8D3rrr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235586AbhC2IrM (ORCPT + 99 others); Mon, 29 Mar 2021 04:47:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50155 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234585AbhC2I2p (ORCPT ); Mon, 29 Mar 2021 04:28:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617006525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zk0Gbd3YvZUDEfTpNPL5QSpZw7gTVP3YO60kykKGUEc=; b=gd8D3rrr7TBAHJ2Ndo46HMLC/3vaVTQb06Za9aGeMu0tKKF5qpQMGWhJMhpBVdqJWoiE4y DGMwa4N0tPjX1ly5yVEJ+QH0Z/cJC7LUSWoRNFfwzbJGFgJ8ofHofV32gkLdg6IOGJypA/ wN3k4W9e9q7GA+MHak0UixFe47AIKso= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-351-g7o-8gjtOxCnDdrWtD2WDA-1; Mon, 29 Mar 2021 04:28:42 -0400 X-MC-Unique: g7o-8gjtOxCnDdrWtD2WDA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 822B887A83B; Mon, 29 Mar 2021 08:28:40 +0000 (UTC) Received: from krava (unknown [10.40.195.107]) by smtp.corp.redhat.com (Postfix) with SMTP id 5401062954; Mon, 29 Mar 2021 08:28:37 +0000 (UTC) Date: Mon, 29 Mar 2021 10:28:37 +0200 From: Jiri Olsa To: Stephen Rothwell Cc: David Miller , Daniel Borkmann , Alexei Starovoitov , Networking , Jiri Olsa , Linux Kernel Mailing List , Linux Next Mailing List , Yonghong Song Subject: Re: linux-next: manual merge of the net-next tree with the bpf tree Message-ID: References: <20210329122916.5921aad9@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210329122916.5921aad9@canb.auug.org.au> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 29, 2021 at 12:29:16PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > include/linux/bpf.h > > between commit: > > 861de02e5f3f ("bpf: Take module reference for trampoline in module") > > from the bpf tree and commit: > > 69c087ba6225 ("bpf: Add bpf_for_each_map_elem() helper") > > from the net-next tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc include/linux/bpf.h > index fdac0534ce79,39dce9d3c3a5..000000000000 > --- a/include/linux/bpf.h > +++ b/include/linux/bpf.h > @@@ -40,7 -40,7 +40,8 @@@ struct bpf_local_storage > struct bpf_local_storage_map; > struct kobject; > struct mem_cgroup; > +struct module; > + struct bpf_func_state; > > extern struct idr btf_idr; > extern spinlock_t btf_idr_lock; ack, thanks jirka