Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3339868rwl; Mon, 27 Mar 2023 12:34:19 -0700 (PDT) X-Google-Smtp-Source: AKy350Y85n3aqoNPnJWqLlcPLsBuqqrDJXpJcwhaEbbU3WFepyp+r0lbf5Nbzp8y9B5LZGVAn3Gj X-Received: by 2002:a17:902:ce86:b0:1a1:cef9:cc5c with SMTP id f6-20020a170902ce8600b001a1cef9cc5cmr16054259plg.15.1679945659607; Mon, 27 Mar 2023 12:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679945659; cv=none; d=google.com; s=arc-20160816; b=xyvWuJbZJ5kkVJNEspVneYJEeeStuN7AgcxEO6eBJ2bGRWoIqUBlOs7pfYerb0k5dK TAlhUc5w0D4bLIWPUt96LC/r5uIg3dIzwINkPU9iUTIfQy8jKvgaWNIe8jZ1ZaWqxldC BSIaRC3UD6uYzBcLRUbI1WhI0JK8rAHgQ+3yKYoSgMNnEnZgoZMSvBdDpnC/gRl0jp3I RVyEyH0zvO0VJ9b7K/gCfC1Lka+66wG35xWh0jBk8h9hlhv9cmHpFCBU4ZIBMTwL1/ft UQfDJ7XLUs7IsTZaikKu8XDZkGi/wB9SO4aVAJvRSrDuxDHY9aZljGLHgF1OBCcAu/am Nv+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xcVWACh9AVKFBL+pW+FE9Xpu1vqOmtVYgQ8/xR2RZCI=; b=VDzl7ZJCFyobHxYW9WZS87cjfjLmQfr5/hQuMVKY2Y1jgyyy2/bJhOiEn+NTvsQ3iK oPFW2033PiaOZEpqilDLcKfehIqjWWz86B8CucleHDdf8ISidy8gvx/y2KevDA05Yypi KFZsXSXVlGrxZJPDGL1zlsbBOSvB9U54oVlOASi3tOMakWf+ykVLN0XQ/7fIKGDwZU3p nmqKiJEYVzNbafS8IFHGTAG87gcJlj3wwc5/2LxWaPzntkzAyY9xIG8minkB+q2BtC0i rr7gsEKp3aZcbv6g9i7OSYauOqfKzUWiL97WWu+1czGLjz/xWRICb+fdNEt0vRCN5vT2 oMbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zrsUJ8Hb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l16-20020a170903121000b001a247793456si3206999plh.176.2023.03.27.12.34.07; Mon, 27 Mar 2023 12:34:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zrsUJ8Hb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232374AbjC0T2X (ORCPT + 99 others); Mon, 27 Mar 2023 15:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjC0T2W (ORCPT ); Mon, 27 Mar 2023 15:28:22 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B08642D48; Mon, 27 Mar 2023 12:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xcVWACh9AVKFBL+pW+FE9Xpu1vqOmtVYgQ8/xR2RZCI=; b=zrsUJ8Hbn4+JP3KFeqaeFDDib1 9I+in64FRU8MmlqsojhKYp4fSx9/Eq37GabpFr3Y0mhunAH34v6wwEO1u2xZsFRMzgibGqGy0wN+K QcjjLcTH/k5PL/cCSVpH9ZoY2jDPIaskWMU587NLbbGuXdFlLJgaxnxwYNoUgAff8PhJpl4ZFgwQr 004lzTzr4iHhzG7L3+ZfAODnEFVElU7gXfF+5wfESrU63CXJhgnK+6S0J1EndtBPQ11j1VFuXlZEu hQ1vrtdEyNp1DyRLBuKPMc2bqGE649drC8LCfb22mQXZc9nvwRiEZoBWBzEUeAeqh0zRd8lKPp08K mt2t7EAQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pgsVv-00CE4Z-0k; Mon, 27 Mar 2023 19:28:19 +0000 Date: Mon, 27 Mar 2023 12:28:19 -0700 From: Luis Chamberlain To: Viktor Malik Cc: bpf@vger.kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , Nathan Chancellor , Nick Desaulniers , Tom Rix , kernel test robot Subject: Re: [PATCH bpf-next] kallsyms: move module-related functions under correct configs Message-ID: References: <20230327161251.1129511-1-vmalik@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Luis Chamberlain X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 27, 2023 at 08:20:56PM +0200, Viktor Malik wrote: > On 3/27/23 19:47, Luis Chamberlain wrote: > > On Mon, Mar 27, 2023 at 06:12:51PM +0200, Viktor Malik wrote: > > > Functions for searching module kallsyms should have non-empty > > > definitions only if CONFIG_MODULES=y and CONFIG_KALLSYMS=y. Until now, > > > only CONFIG_MODULES check was used for many of these, which may have > > > caused complilation errors on some configs. > > > > > > This patch moves all relevant functions under the correct configs. > > > > > > Signed-off-by: Viktor Malik > > > Reported-by: kernel test robot > > > Link: https://lore.kernel.org/oe-kbuild-all/202303181535.RFDCnz3E-lkp@intel.com/ > > > > Thanks Viktor! Does this fix something from an existing commit? If so > > which one? The commit log should mention it. > > Ah, right, I forgot about that. The commit log is missing: > > Fixes: bd5314f8dd2d ("kallsyms, bpf: Move find_kallsyms_symbol_value out of internal header") > > I can post v2 but I'm also fine with maintainers applying the tag. That patch went through the bpf tree so its fix can go throug that tree. So up to Daniel if he wants a new patch. Luis