Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20772063rwd; Thu, 29 Jun 2023 06:57:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68ZYPsu7oEwo9+ncHHplufyiOnUP1g9ZgY4yhSFMbWGE53i8UT/DQzHnYtw9vMjRAerjEu X-Received: by 2002:a05:6a00:114e:b0:682:3120:1450 with SMTP id b14-20020a056a00114e00b0068231201450mr2823024pfm.30.1688047042607; Thu, 29 Jun 2023 06:57:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688047042; cv=none; d=google.com; s=arc-20160816; b=zSNE/KiK4GA5VK5nTJfAM5GaA4NoSCAT6DrjyOwLa7ay1w6lvMGBRZIgxrfgmhULqf 5oM32suy8xgtcW4mvYe8UApSGtp86GfkLnHW2+/uRXyzlEk9mn/rwDqvekvABMLhmjqW qqMzLw5l2E/dRWBbqyfkC+1qo2JeEhiZfnZ9xAzFfJucmgOw2edd44LxXGRzyubfOA5O 2oG4dtJyzHipyhwABuQD6UGx6ew8ZZkNSgPwpGPdlESJMk+8U4ZdrVfZIy0jdIn6XJSO sdTTuMwT3e5PfsXJvHuds5CgHtF+/L2+L4OPg51XlPSv0w3gfGHl3hU8oT0FDKTx0GK5 OPfg== 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=vCNFfEAbLHyMqZFM6llkFTJRY+kQekzRP0RrqaYUy78=; fh=F1R4BFrTEbDSQLeBpY5M9G+soo7cx7PMuVyjA+mU5GQ=; b=oloxZLD60ogUIyWcSsdjhc0Si+ppNBpevYnnI8FDGu+PRsMeDU+D+oFJTnUcnDr57s 4ra+z0wWeN9QlGAlLoFvBkxBiZ3uzmWf9AzSj9QaYn/PrIwfwDltBIf0q75FjwJYThG1 2H8MsOsnj5TlWv3JtEDkOc0QMwhmAtPtrUXinPwqxnzPxFdxi9ufXVvc8vtgmgp6aEAH 0j6XXF0jwHHkDTcH7h3s9JRZe7xFhtuP6dm+8oLsyFi4fF6FEXOamhsV/GRwOEjqeZ05 dd2Q12RNoAMlbQH9SfUS9KhLBJJ354fMjur5U/fHfP54aBvXyOdlg/PRJmsFD4+uWBNc mbBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HskV4C78; 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 x3-20020a634a03000000b0054a291a0bf9si10415582pga.672.2023.06.29.06.57.08; Thu, 29 Jun 2023 06:57:22 -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=@gmail.com header.s=20221208 header.b=HskV4C78; 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 S231894AbjF2Ncr (ORCPT + 99 others); Thu, 29 Jun 2023 09:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232033AbjF2Nc0 (ORCPT ); Thu, 29 Jun 2023 09:32:26 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DA8E72; Thu, 29 Jun 2023 06:32:24 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3fb4146e8ceso7028905e9.0; Thu, 29 Jun 2023 06:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688045543; x=1690637543; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=vCNFfEAbLHyMqZFM6llkFTJRY+kQekzRP0RrqaYUy78=; b=HskV4C783dd9XjnLO3UPWQNHPOEgfdNsuYPbJAE7KjgNp8FtRl9zpGOg6Lsh8aUZmS ftJgw15Hd2cnAwy6Gqo1x690oceBY+OoZ9OuP8RcBLnjmMcU3mzslAxeI8R1lsscUj/8 2lIQ/gf6nD4S6lMoq97jYGx0KMl2w9GoJ0+ONiS2X9WsmEC2liizlirxd5agDu7asJ3m oQ79nmS/VM0UUmu2kFclu8oHLD0Gd6aWQryU3vAZWeAPx/k9rATpYABsusWzfelb2Kpi Skq8P4m7DmZWUFg6qNxjmeZqsA2rH0xW0GvGITrZ/5V2ixqTwiddwuQQik0y9b/+YgZX A4rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688045543; x=1690637543; 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=vCNFfEAbLHyMqZFM6llkFTJRY+kQekzRP0RrqaYUy78=; b=cBJg9KnNXjnoMUgZQmTUl2NSc+GxkEVCE6ftlUOWVf36yIohQoLlWVE9037t6wRrUi zs3JW4sTAQxXTqVJxDgGePTXr2ATzChlPD30vbkZhhrG9i0ikXioCHFcXMmV8Q40t9CF 1EvLKkqpLe+4pn14lSIXSEs1Ryb+hIN/KOFf99SelqTUEskGYDyRhTaOBKl4iY2t4bI4 A05U8M5yhK23xvu87WV8u+B2bfV4OI/CNbP6MpsvI3SdH8QVtFjcnUVbG1IEB6+b8abc mU7ady1j0MwDFADEj5w+KTFEY96mFGbT3pHklNQ+xsrMxzuO3Fp76RZVvfIqvcFfZCws Nstw== X-Gm-Message-State: AC+VfDyzOuemeuseytOeonOGCVdX6eRcTHC11hxIUvOfP6lhbv/sPIkR CwindHEnV6OPO1Z3ZHWCQS4qT7aKLufh1Q== X-Received: by 2002:a1c:e90d:0:b0:3f8:fc2a:c7eb with SMTP id q13-20020a1ce90d000000b003f8fc2ac7ebmr27588599wmc.5.1688045542818; Thu, 29 Jun 2023 06:32:22 -0700 (PDT) Received: from debian ([167.98.27.226]) by smtp.gmail.com with ESMTPSA id m9-20020adff389000000b00313f551b032sm10122946wro.53.2023.06.29.06.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 06:32:22 -0700 (PDT) Date: Thu, 29 Jun 2023 14:32:20 +0100 From: "Sudip Mukherjee (Codethink)" To: Yu Kuai , Song Liu Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , regressions@lists.linux.dev Subject: mainline build failure due to 8295efbe68c0 ("md/raid1-10: factor out a helper to submit normal write") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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,T_SCC_BODY_TEXT_LINE 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 Hi All, The latest mainline kernel branch fails to build x86_64, arm64 and arm allmodconfig with clang (version 16.0.1), and the error is: In file included from drivers/md/raid1.c:52: drivers/md/raid1-10.c:119:25: error: casting from randomized structure pointer type 'struct block_device *' to 'struct md_rdev *' struct md_rdev *rdev = (struct md_rdev *)bio->bi_bdev; ^ git bisect pointed to 8295efbe68c0 ("md/raid1-10: factor out a helper to submit normal write"). Reverting the commit has fixed the build failure. I will be happy to test any patch or provide any extra log if needed. #regzbot introduced: 8295efbe68c080047e98d9c0eb5cb933b238a8cb -- Regards Sudip