Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp733808rdb; Wed, 1 Nov 2023 00:25:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNQi6S4JvzSySRrYr0li5D42lEHnwtnhcy7GR1IrEm0+C4+QT84ImyTR+UPbjH33usZ7qS X-Received: by 2002:a05:6a00:14d6:b0:6be:4e6e:2a85 with SMTP id w22-20020a056a0014d600b006be4e6e2a85mr20322557pfu.30.1698823500317; Wed, 01 Nov 2023 00:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698823500; cv=none; d=google.com; s=arc-20160816; b=eX5svYGFjG/nZDp1QV8xbWLpwzUB4FsVYdRc+QNTyN8rl7e6MbI5JnxdRHmU0CAklD nNR4MgD2zBQHleIZCk2oPaYUXvWVTTn08t/xCfXA8f/j1KTW54qY4Ft0STBeDaMSSW9x 2U0IbO/vOebKjHPjqFOlyEM6+2Gs3X64Tm93rA7h3jp1xS0OeTWcenO5rwrwvMEatmV9 qXpyZOOqI8wlOHbSi4B5ExYNWFhhBtgrowx2atpuM0xxr7KnlxB8fbsekxtyf0VMp8Wl kwBKrjjpDRv+ZqR+7xTJYzJ4TxXaTA1xEtxmRi444qmyKHLWl/JRtv3lyMFJEihjZe4c tSAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=Bniu+XvUkLIU8+CHCDxa7ohZBTTDILcLExwGeavUY0o=; fh=gfHIZm1MpYN7nBbIgGPJ8TKBUNhh0emJi93451PUpBc=; b=YzRS8BGqeelrRJgciJG1kNgGdJ7jwZTbUzzYzH/vnV16SRyga7Xhu3MfUiZ8mygFk4 ai1gUS3auupoTOqvQXZ+0L8zxtSq/ogF3+3VDw8aGNJlbH+5WB/KeT/CAmtsTYw0QMVH C/es034CyVVgWLHP3gfW0eqKKksIxlEWSaUzKpbDjZ9TwXmDWABT/BgRIvAXlg59k+MZ 6dkAnHUso+5xyv+HG5r0NxI0MIpO3fU4T6xY7XjeNm1GXFyHwYWR9PInyp+vrOkUrnqI Zb4IAtN73NKLgzS/cbseE/zdUZL7VuBExXH3iuOpu8f5FaYyzaqxGJzTfbS1WedMuPv9 UVuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a7-20020a056a000c8700b006b7560385efsi1109638pfv.203.2023.11.01.00.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 00:25:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 96229806AE6C; Wed, 1 Nov 2023 00:24:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230200AbjKAHYi (ORCPT + 99 others); Wed, 1 Nov 2023 03:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjKAHYh (ORCPT ); Wed, 1 Nov 2023 03:24:37 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 906E4E4; Wed, 1 Nov 2023 00:24:31 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qy5aW-0000Pd-To; Wed, 01 Nov 2023 08:24:28 +0100 Message-ID: Date: Wed, 1 Nov 2023 08:24:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: mainline build failure due to 5cfd69775eb5 ("bcachefs: Array bounds fixes") Content-Language: en-US, de-DE To: Sudip Mukherjee , Kent Overstreet Cc: linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , regressions@lists.linux.dev References: <20231031222455.mbhbhxiykq7dnuvl@moria.home.lan> From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1698823471;c866e10b; X-HE-SMSGID: 1qy5aW-0000Pd-To X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Wed, 01 Nov 2023 00:24:54 -0700 (PDT) On 01.11.23 06:18, Sudip Mukherjee wrote: > On Tue, 31 Oct 2023 at 22:24, Kent Overstreet wrote: >> On Tue, Oct 31, 2023 at 10:15:09PM +0000, Sudip Mukherjee (Codethink) wrote: >>> >>> The latest mainline kernel branch fails to build arm64 allmodconfig >>> with a native build on an arm64 host with the error: >>[...] >> Following patch should resolve everything: >[...] > Thanks, and I can confirm that fixes the build for me too on the arm hosts. >> -- >8 -- >> From ad77f25f730ec9a0eb04be5adc591628654b85ae Mon Sep 17 00:00:00 2001 >> From: Kent Overstreet >> Date: Tue, 31 Oct 2023 18:05:22 -0400 >> Subject: [PATCH] bcachefs: Fix build errors with gcc 10 >> >> gcc 10 seems to complain about array bounds in situations where gcc 11 >> does not - curious. >> >> This unfortunately requires adding some casts for now; we may >> investigate getting rid of our __u64 _data[] VLA in a future patch so >> that our start[0] members can be VLAs. >> >> Reported-by: John Stoffel >> Signed-off-by: Kent Overstreet > > Tested-by: Sudip Mukherjee Kent, thx for handling this so quickly. If you want to do me a favor, please in the future include a "Link:" or "Closes:" tag with a URL to the report in cases like this, as explained in the docs (it's important for regression tracking, but also for future code archeologists); checkpatch should have pointed this out for this patch. Anyway, no big deal here, let me tell regzbot directly about the fix: #regzbot fix: bcachefs: Fix build errors with gcc 10 Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.