Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5258155rwb; Mon, 14 Nov 2022 01:35:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf4FYYX9eCPZaCXSji3IoYDqrjbLWaU86LH6+ZDQm8Ni5lqIWNtnZaAyw4cG1XkI5o1s2PVr X-Received: by 2002:a17:906:a2d4:b0:7ac:db70:2f90 with SMTP id by20-20020a170906a2d400b007acdb702f90mr9475963ejb.297.1668418547871; Mon, 14 Nov 2022 01:35:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668418547; cv=none; d=google.com; s=arc-20160816; b=cto/NHvQp/pP13gTANmNKkNCqv7TtLdLREtAwzQ4sxKw+94TY/BFw0Ye1s6MjjwMTE jv8PzQXfQST6uOPlaAlTTQqZHGBPcsbr/EJ7jc0iZIVJOd/67OQ8PfUIKI72oC4S5Zg9 f2bzeUCmnNgGtHQYgKjAd2SLywqHgYgbZNQSd23wa60TfH24WX8jj4EhjaBcrUfE147A onghUhX29DgzwMXpj689FBd8x2wSSy/odfJ5lln48X01JZFGqtXv75cyZplcf/IV/7H/ RZLCaz8lUC9gDm24FpjeQ5tt9K9A9andy2Y/8mfad9+tHiM1ncTOirbNr+Dt5WLabN1p 3Odg== 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:date:from:dkim-signature; bh=eANwCkb3Vp19xhtdhoIJYYHLk76oMsoOORUWfegYSaU=; b=ETfyUkxNDbAPa2OsH/lMyL+HsIZSdMh4bGiYialbZoomuO1hFBjPinB/Vdt1exFeI+ opDpN9TOvwUQ0TklbDlWlPP5D96SoxqmSu4CESQ8Ov4e63Yti6VusjTbbEV2JI6quhE8 CqlK/ozWBAH3e8B4LqKHL6gTRwiGh6ENhWvCLm/UPCUi5+DFXOmM8jQKY2nvXF1bzQIl 4WtKb2qiGNWb332JikKPXt+wC9LTVJ2KDLkVfSGKGBJZAdExAX6erPYO0Qg8i8AI3zUi mU7PuU/mbIPhfBcUZeg6JTdHdWd5HQ+NbQIduWAfLTvcjI1g3jt5gceIu6ubtt41LM/Q 4BPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FSPmjVA8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020aa7d552000000b0046277d2cb0csi7457291edr.470.2022.11.14.01.35.24; Mon, 14 Nov 2022 01:35:47 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=FSPmjVA8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236103AbiKNIBj (ORCPT + 88 others); Mon, 14 Nov 2022 03:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236088AbiKNIBg (ORCPT ); Mon, 14 Nov 2022 03:01:36 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26E3CC48; Mon, 14 Nov 2022 00:01:33 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id y16so16582219wrt.12; Mon, 14 Nov 2022 00:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=eANwCkb3Vp19xhtdhoIJYYHLk76oMsoOORUWfegYSaU=; b=FSPmjVA8A1plQhs8YuWo2yJXT4Rsg4nblJ72HfeTSst9Nf+zjXd0Fb5EWaP574sRti aUockDfFs3TgRtjbDAjOCQMnjRXT6/JmVnFd/EytBJ6WSSGE182OmFWQG+Du21vomG54 U2AiFoHNSGcMO7f6m0saQHtI2kgE5irJEezPrVSxAEZEeDnmRtE9N6iJ7Vaoa1H3Fi94 mGorkoyRTTcPgJFfE80b2WEcWjHV0HEjXRZMeuUh3Kzjph3NGcxeKAAZbQb87XnFE6at LoMSKaUPd0rPobyyDldM8Rah34dkVMMTgnGilhmVjm7H3BQOiJ/Ne/PD4ftwuiCh5y/p g7oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eANwCkb3Vp19xhtdhoIJYYHLk76oMsoOORUWfegYSaU=; b=f8BA9d4XEHHjCN/xZXMT1qJEcKnlfCbK5LNuLVxORLrgzZYppFQpONCKViD3TBZ16k BjTQSrRv2K4B/oNX1hBXrTc9tUhyGqhiB+UI8FpbG/UT2Z4v0WpW8v1fiFkzPBRye0DR /bQmEKd0CJa91pWAADviExjDuIb8tY73D4Q1KDm+Zz7WogRPskhxSaRa2zTbMHJSzT5z HufHgcO6hgLMW4i1wnc/KQQ0lXsnf9buKh1Iv5TqjRPQdQTOnXTfiuFZbRooA7wepjOT T2anXPXyOqw8Lf3SSgWAN2iy3ob/bSU4Y+Up9J/ymdxqwtP7lpXKtlUJOLKevOZf3/fa rtuA== X-Gm-Message-State: ANoB5pnRnVKjugUq71u1wp1RF9MPN20gCSBdUoWWW8sZqQt+gLhdu9Ns fP6dmt2m+/emB+k/fn2rBSo= X-Received: by 2002:adf:de04:0:b0:236:88a2:f072 with SMTP id b4-20020adfde04000000b0023688a2f072mr6692837wrm.516.1668412891629; Mon, 14 Nov 2022 00:01:31 -0800 (PST) Received: from krava (2001-1ae9-1c2-4c00-8b88-53b7-c55c-8535.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:8b88:53b7:c55c:8535]) by smtp.gmail.com with ESMTPSA id r15-20020a05600c35cf00b003a84375d0d1sm19128269wmq.44.2022.11.14.00.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 00:01:31 -0800 (PST) From: Jiri Olsa X-Google-Original-From: Jiri Olsa Date: Mon, 14 Nov 2022 09:01:29 +0100 To: Stephen Rothwell Cc: Luis Chamberlain , David Miller , Networking , Alexei Starovoitov , Zhen Lei , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the modules tree Message-ID: References: <20221114111350.38e44eec@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114111350.38e44eec@canb.auug.org.au> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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, Nov 14, 2022 at 11:13:50AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the modules tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > kernel/trace/ftrace.c: In function 'ftrace_lookup_symbols': > kernel/trace/ftrace.c:8316:52: error: passing argument 1 of 'module_kallsyms_on_each_symbol' from incompatible pointer type [-Werror=incompatible-pointer-types] > 8316 | found_all = module_kallsyms_on_each_symbol(kallsyms_callback, &args); > | ^~~~~~~~~~~~~~~~~ > | | > | int (*)(void *, const char *, long unsigned int) > In file included from include/linux/device/driver.h:21, > from include/linux/device.h:32, > from include/linux/node.h:18, > from include/linux/cpu.h:17, > from include/linux/stop_machine.h:5, > from kernel/trace/ftrace.c:17: > include/linux/module.h:882:48: note: expected 'const char *' but argument is of type 'int (*)(void *, const char *, long unsigned int)' > 882 | int module_kallsyms_on_each_symbol(const char *modname, > | ~~~~~~~~~~~~^~~~~~~ > kernel/trace/ftrace.c:8316:71: error: passing argument 2 of 'module_kallsyms_on_each_symbol' from incompatible pointer type [-Werror=incompatible-pointer-types] > 8316 | found_all = module_kallsyms_on_each_symbol(kallsyms_callback, &args); > | ^~~~~ > | | > | struct kallsyms_data * > include/linux/module.h:883:42: note: expected 'int (*)(void *, const char *, long unsigned int)' but argument is of type 'struct kallsyms_data *' > 883 | int (*fn)(void *, const char *, unsigned long), > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > kernel/trace/ftrace.c:8316:21: error: too few arguments to function 'module_kallsyms_on_each_symbol' > 8316 | found_all = module_kallsyms_on_each_symbol(kallsyms_callback, &args); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/module.h:882:5: note: declared here > 882 | int module_kallsyms_on_each_symbol(const char *modname, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Caused by commit > > 90de88426f3c ("livepatch: Improve the search performance of module_kallsyms_on_each_symbol()") > > from the modules tree interatcing with commit > > 3640bf8584f4 ("ftrace: Add support to resolve module symbols in ftrace_lookup_symbols") > > from the next-next tree. > > I have no idea how to easily fix this up, so I have used the modules > tree from next-20221111 for today in the hope someone will send me a fix. hi, there's no quick fix.. I sent follow up email to the original change and cc-ed you thanks, jirka