Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp230789rdb; Thu, 2 Nov 2023 01:50:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOLs+j5eG/1l1Pa8nJiuTgNgAxAhfs7FUvUeLzdXMLHi9xW42AZhqneiBwBbrb/cPjFz0l X-Received: by 2002:a17:902:c714:b0:1cc:40a4:9179 with SMTP id p20-20020a170902c71400b001cc40a49179mr8706799plp.34.1698915036308; Thu, 02 Nov 2023 01:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698915036; cv=none; d=google.com; s=arc-20160816; b=R4FjXzA4rn1Jxme8pNl5iDBND181eXUXLkDvIE/8HQCIBU7hOHtu6tunHYLd9v8tS0 Hk6JZYMS6XHvr+wxkW1ZNcTTG7KXTpe05y7Wt2ZoVWBVBcXZOuFhGbPWII+P0cSxx5H0 CbKaI2xdPVfCKh4ydrwnUeF63Cl/u+i2XBA9bToUMx55DghLkQNRP8ZDywcwrK8NRUpK Hb0yiiy67GGtyOoQNi9gz0apyXzBp83Ydg6xr9T1uiVYNWWASnGNHxnfGeAlItH6qCuI /xVQUBPcPlx7ozNdql/bthgiNEcbUgwQ+n9m0wypRg7H0MYrxW0YHgyIjfnNn31nweLa w2Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=BKF4AuwBxKpYd7Ly1Ezs8kH7+emBGdvuLRRIRObR8w8=; fh=w4QugcPlsHSIOUakDihKZgK1fwt5GvlXvyWua04jXgU=; b=Fp55HgDD1r8FkGqTqVlkzI2VKogsMI+28So5H42JyFBpZNqUx9I0nPop6Hv2JabR/V Oe5PaFH7kxBpnFDse1rOcWHhcAJWXLmtUl2OOVrZPfm86pQmI/cw/VD0ocelwO/fn7wv LaPNztUA0uszwrOwiM4cwyLnw3CSQm8FtRDhUeyWEr1wSaCIzMKTecpUbixOT0LCeemi IfEnHmoNhJ+EQXEUhvqUDwgb6t575RIM13zyYwuw7tF7ZQHiU0221aYh4V8i7UbqFMcq glrUJY5E6Z5ZgT+kFsJKK71j8A3x1MKcpm4GkqA9ILP7ehYIq7+JuZYGy3852JExZnbE 72QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="H5ERlu/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u11-20020a17090341cb00b001c9ad30e4b8si4993235ple.320.2023.11.02.01.50.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 01:50:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="H5ERlu/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B3766801B8B1; Thu, 2 Nov 2023 01:50:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233356AbjKBIuS (ORCPT + 99 others); Thu, 2 Nov 2023 04:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233093AbjKBIuQ (ORCPT ); Thu, 2 Nov 2023 04:50:16 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 015C312C; Thu, 2 Nov 2023 01:50:13 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-32fb190bf9bso24300f8f.1; Thu, 02 Nov 2023 01:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698915011; x=1699519811; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=BKF4AuwBxKpYd7Ly1Ezs8kH7+emBGdvuLRRIRObR8w8=; b=H5ERlu/7esuI5hQQKpHOA19rBWOGrGAE4WOCvBGfv25DHh4Xwn7v1UxYcCTKXdnLGf GA25emovQ5biDy9XgcQLrw31GdHX+Ax6sU4Q6h9AO9TG8YAmRWbNf4HerOG7+UDiFQsx vxye8qm08W8KDCDMij/O397IBql1VDFk7nVht9NfFvFZJo52V9Ssqs45RUuunKNzRriA cL+q/AwnQyiIa9vGG9vfSU/1A+/telF/b3tXgTXNb3C3ZvItZYMB30VurY7ilTNm8Y3U MIs2oJQyHFsaHmVaiXMF3yekFQ9xVzGFQgp4IwX5Wdd/Tz2cOG8xG5VNme/3jWSk0ZkR wDMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698915011; x=1699519811; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BKF4AuwBxKpYd7Ly1Ezs8kH7+emBGdvuLRRIRObR8w8=; b=eYVcexT0ZApVDZH1Fnl52m09+pbIdWpMEdfxWt7HKIhRTl7lnB5lISh3iaMMYPECbs xhYH2IRjo9YEUCxuZqY037TCNXefauo8C7WnZf3QnM2rPnFB4J/24i5PdA0JJL5qsP6S VIwHDdcNgf/lV0wKyM1DbMQW+BD9FTy5lBbl3tq0cFAkJMsk49dGYDVsfM78oK7fopLl A3jxU3afSEocyYEAtYHCcU5m4rqxAyeitVrJfC1tf8HrLOknvLlBT/VmSWE9jetRHHMf oeDiQtQOu9l3dW2BXAKYWA1v1L0z9C3YQEnAib4Tah7SOsKJjLpNdbfdHPD0wpEsBDdw 78HA== X-Gm-Message-State: AOJu0YxggIGo+cbYay2UpeUfBhPoSWVl1yKIVSMvRgGnzfwZvoqVu+vW bzQPRFBctcyEqTPNPbPnJDQ= X-Received: by 2002:a05:6000:1565:b0:32d:8c67:be05 with SMTP id 5-20020a056000156500b0032d8c67be05mr9214808wrz.22.1698915011124; Thu, 02 Nov 2023 01:50:11 -0700 (PDT) Received: from debian ([167.98.27.226]) by smtp.gmail.com with ESMTPSA id n9-20020a5d4849000000b0032d8eecf901sm1844107wrs.3.2023.11.02.01.50.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 01:50:10 -0700 (PDT) Date: Thu, 2 Nov 2023 08:50:08 +0000 From: "Sudip Mukherjee (Codethink)" To: Chuyi Zhou Cc: Alexei Starovoitov , Linus Torvalds , regressions@lists.linux.dev, Yonghong Song , bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: mainline build failure due to 9c66dc94b62a ("bpf: Introduce css_task open-coded iterator kfuncs") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 01:50:33 -0700 (PDT) Hi All, The latest mainline kernel branch fails to build mips decstation_64_defconfig, decstation_defconfig and decstation_r4k_defconfig with the error: kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_new': kernel/bpf/task_iter.c:917:14: error: 'CSS_TASK_ITER_PROCS' undeclared (first use in this function) 917 | case CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED: | ^~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:917:14: note: each undeclared identifier is reported only once for each function it appears in kernel/bpf/task_iter.c:917:36: error: 'CSS_TASK_ITER_THREADED' undeclared (first use in this function) 917 | case CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED: | ^~~~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:925:60: error: invalid application of 'sizeof' to incomplete type 'struct css_task_iter' 925 | kit->css_it = bpf_mem_alloc(&bpf_global_ma, sizeof(struct css_task_iter)); | ^~~~~~ kernel/bpf/task_iter.c:928:9: error: implicit declaration of function 'css_task_iter_start'; did you mean 'task_seq_start'? [-Werror=implicit-function-declaration] 928 | css_task_iter_start(css, flags, kit->css_it); | ^~~~~~~~~~~~~~~~~~~ | task_seq_start kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_next': kernel/bpf/task_iter.c:938:16: error: implicit declaration of function 'css_task_iter_next'; did you mean 'class_dev_iter_next'? [-Werror=implicit-function-declaration] 938 | return css_task_iter_next(kit->css_it); | ^~~~~~~~~~~~~~~~~~ | class_dev_iter_next kernel/bpf/task_iter.c:938:16: warning: returning 'int' from a function with return type 'struct task_struct *' makes pointer from integer without a cast [-Wint-conversion] 938 | return css_task_iter_next(kit->css_it); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_destroy': kernel/bpf/task_iter.c:947:9: error: implicit declaration of function 'css_task_iter_end' [-Werror=implicit-function-declaration] 947 | css_task_iter_end(kit->css_it); | ^~~~~~~~~~~~~~~~~ git bisect pointed to 9c66dc94b62a ("bpf: Introduce css_task open-coded iterator kfuncs") I will be happy to test any patch or provide any extra log if needed. #regzbot introduced: 9c66dc94b62aef23300f05f63404afb8990920b4 -- Regards Sudip