Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp2001672lfo; Sat, 28 May 2022 13:24:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPIvM5Ha0eBmFOUjCYjI7Rn16Mqiw1Rja3oEJ7NQGr0i16iP3PGI67hpYkm3WQ0Ymo1OEl X-Received: by 2002:a17:903:208:b0:162:284:3396 with SMTP id r8-20020a170903020800b0016202843396mr39057695plh.121.1653769479317; Sat, 28 May 2022 13:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653769479; cv=none; d=google.com; s=arc-20160816; b=00OecnxfCpU/UstGzF8CFaU2/7x2qgFmmAYNd1R6eQntf2ruzfu1LdPIkHComdm+AF IIcfxU6vtkSwNZ5j3GR2cWa/AmDPYRUnSzmM6dCXwiXI49qF8PWhvmjG5vWCuYZT5LBp tFoPSwVqUYntXyHTT4lX4xT7+i1+86EPa+b8V84V3l+O7Xc1qj0LgZs9MYAQVMMVXmpS aLZj+9V7FyahUKDec3fVqQp4goM6Ialz52QTcXUlrHFEmzlrVRgfUVVvV5no2TR8XCnI 8cgewBcxwhnFMDmvpeoQnXxs1qzZNYvwBKz9mfZ15ynIRiICcmBklR7vfosUlWAucffQ SqTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=i6fxNe1Yr6PM7bPFKoIRTPqlhmZN8j/BfeWdZm7S+GE=; b=pTEoQIJtSnofWzchD7Xy6OE76rJI1dOU+AKmy+9V5xjm3dgpUrxVyQLLQRpYI+uv+3 h5RH+e02HRpzsUppcArB9L3ilidTxmHwcPqsigkb+0wxtkNKZ0l0lW0ztzPwWnFE2Gtw U7L/Gn9R1oPuSMTf11pWWflJuAANfIc45i4Ey3jqXm/k/D3eCmAiuu1qH2cbVfew6UeY ABqxeQRas4gFILWgRBr8wm5/G3NmldtboGaYV91wCvgsLwQKT6yIRR2gYCcfxhc2RatA lovLPaybJD8ZBxYmsq3xfv/qpptLxAzeBaL/pe2iXjQKA60GU0+9u/sdIPzlmKfxKRyP NfdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kh+ddXud; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h3-20020a056a00230300b005189558de07si4958544pfh.291.2022.05.28.13.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:24:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kh+ddXud; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0C33B5716F; Sat, 28 May 2022 12:31:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354886AbiE0XlW (ORCPT + 99 others); Fri, 27 May 2022 19:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352495AbiE0XlS (ORCPT ); Fri, 27 May 2022 19:41:18 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E21522F6 for ; Fri, 27 May 2022 16:41:15 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id v26so10327901ybd.2 for ; Fri, 27 May 2022 16:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i6fxNe1Yr6PM7bPFKoIRTPqlhmZN8j/BfeWdZm7S+GE=; b=kh+ddXudedr/FfFvhJB31s60mRvJ61namZkEwazfz5hKURIbMiIzy59PZfFNwztdbo EuA/8/g2Shr45xriJg7oTsLTLYol/pLhi6xS3K45Uwp/CPioC9tIHhBUMrOyN+cmRHAH 4louErDjJjimWMfZiJTYRLUZCH86PxlLRpYaaTln4aUHrNM1/dCz1C0ERRQf4MEFxvay +3vZmR8YG5zewoq7jQKqY/jdprEpklh8LIdX9/B7mmyT+/SgFPrUIqpzU2Hix5xAWJHw H4ePD6ixeJJApDOVfWgW2mw0r/coqR1QswjYnLY0bJGcyi3+cZunR8QzaELqxi/8c1C0 8FWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i6fxNe1Yr6PM7bPFKoIRTPqlhmZN8j/BfeWdZm7S+GE=; b=fiNtpoNS81SISetB8WV0nARIVrHR9uzPYBZM81W0xglMqCdI2mvTwXYuoT06PC1nMb J+ui7/pgIrkQJVhExgHkmah8MYmHZsqjQRlwywe/WIvVlUW9vo2PkknYdbrSyRiKK6Yx 6lTe8mUOxP750Z84C4MLdSWtWlCZM78ipMkVWK7HpTMuHEUzFSlkOx01H1tqlj9dodAL rrdN9QIVeNwqanWOX4AvQ6ap0VqCEIJLHSaVe7wiyQFbPQ0z9AxcEZtV0k0RyFsdL83H O4wnrHRtZmbzO9HT6MOvYuiXDNPoWwHddrpZ17kME2ORQQ5WDsSpAY4PS1gSIhQsIQRd 8UNg== X-Gm-Message-State: AOAM532BEV5e2Yy0cN2+aAhwuih7pSIvdaLVVNtsKIMYA5GluBMbIX4v miyvIDvZcaQhYtRS8NJsgpcfgCJGECriMKFB2ZM= X-Received: by 2002:a25:bccb:0:b0:655:879e:e1b2 with SMTP id l11-20020a25bccb000000b00655879ee1b2mr15636924ybm.364.1653694875094; Fri, 27 May 2022 16:41:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sudip Mukherjee Date: Sat, 28 May 2022 00:40:38 +0100 Message-ID: Subject: Re: mainline build failure due to f1e4c916f97f ("drm/edid: add EDID block count and size helpers") To: Linus Torvalds Cc: Jani Nikula , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 27, 2022 at 7:56 PM Linus Torvalds wrote: > > On Fri, May 27, 2022 at 2:07 AM Sudip Mukherjee > wrote: > > > > declared with attribute error: BUILD_BUG_ON failed: sizeof(*edid) != EDID_LENGTH > > > > And, reverting it on top of mainline branch has fixed the build failure. > > Hmm. That BUILD_BUG_ON() looks entirely correct, and if that sizeof() > doesn't work, then the code doesn't work. > > Very strange. It would be interesting to know where that sizeof goes > wrong, but it would seem to be something very peculiar to your build > environment (either that config, or your compiler). I just tested with various values, sizeof(*edid) is 144 bytes at that place. My last good build was with fdaf9a5840ac ("Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecache") And my setup has not changed in anyway since then. Also verified the build failure on my laptop. -- Regards Sudip