Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp888204pxb; Wed, 27 Oct 2021 14:30:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVMfi09e0Mr7GSqV/0+eYfvxiOq+Yu6V+D2hjPik4Rm0t9KnXpCKzm0YhC7mJmq+ttrpb8 X-Received: by 2002:a05:6402:254e:: with SMTP id l14mr464100edb.199.1635370245433; Wed, 27 Oct 2021 14:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635370245; cv=none; d=google.com; s=arc-20160816; b=hC7SYTd8ThZyqkz5FYKeb4Fg7n1kufh0nlQEwt/n6SoT6kFFf4NDlWZHJTxCBAmf7N rFCF6JWwukgk0L7Y2yxjho/QWRM+fJ8YAT4qiVV6uPBDTALO6M5aT+IN+9EsWs5VMhzZ vUKg/9bERPr3U3h+EB+3udH8TmJHZVgadCOwisw9Vt5YMELy2C1iQyDu+9BmypmDT7Pv tl0mqXCWSIuFBRu2XPcH7V9nqmZL4lWG5oWJiLWYNkg5F54YCx/HLdFdxrgF4473T8/q H91pvpIB2n3zaoIlG9iCb5DyT3XM4Jb4DLPiAfBFHQkFUtoLbDdSNIE3YLc3W/C5XDvk QnSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from; bh=YW9xF13sY8SdevTUcDLHnNxtQrV+xUjQCzZunV+ugNg=; b=bO3rSWxmNGLNzy4B48agI73Fv8HB/bkKgQN6vghKYkAPUVMloL4zEl1rhrFA2v4PPE Tqa3JuGBwq1KJFz4iwEZZYWwzTG+knySlxoplQGPL33BHHpWjdqBYFuekehVgfxMcddE AkJdp133mQsabAUM9yJIKC1DcyEOQD+odr5Ah9WCXxY+5DG4AxWunfwds6VR9bRtBagX LHRITrA04hG8QniuWJu1jt1gkvcXitMIn5IIGu+zbhEca1XsOfH/zNz2SnNNWDhISiGz YofEtRKkLcWDWV3Mz6h2CoFbACUG5qulAMLFRcSzaouYQ2wuPFStsj5/zo7UbtEf4iiY fBYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si2181678edz.482.2021.10.27.14.30.20; Wed, 27 Oct 2021 14:30:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242654AbhJ0PJF (ORCPT + 97 others); Wed, 27 Oct 2021 11:09:05 -0400 Received: from mga09.intel.com ([134.134.136.24]:57451 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242006AbhJ0PJC (ORCPT ); Wed, 27 Oct 2021 11:09:02 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="230038494" X-IronPort-AV: E=Sophos;i="5.87,187,1631602800"; d="scan'208";a="230038494" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2021 08:06:36 -0700 X-IronPort-AV: E=Sophos;i="5.87,187,1631602800"; d="scan'208";a="447254481" Received: from smaharan-mobl.gar.corp.intel.com (HELO localhost) ([10.251.214.195]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2021 08:06:30 -0700 From: Jani Nikula To: Len Baker Cc: Len Baker , Daniel Vetter , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Kees Cook , "Gustavo A. R. Silva" , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/i915: Prefer struct_size over open coded arithmetic In-Reply-To: <20211023115020.GC4145@titan> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20211003104258.18550-1-len.baker@gmx.com> <20211011092304.GA5790@titan> <87k0ihxj56.fsf@intel.com> <20211016111602.GA1996@titan> <877deatzz2.fsf@intel.com> <20211023115020.GC4145@titan> Date: Wed, 27 Oct 2021 18:06:28 +0300 Message-ID: <87ee86h5hn.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 23 Oct 2021, Len Baker wrote: > Sorry, but I'm missing something here. In linux-next this is the commit > history of include/linux/stddef.h file: > > 3080ea5553cc stddef: Introduce DECLARE_FLEX_ARRAY() helper > 50d7bd38c3aa stddef: Introduce struct_group() helper macro > e7f18c22e6be stddef: Fix kerndoc for sizeof_field() and offsetofend() > 4229a470175b stddef.h: Introduce sizeof_field() > ... > > But in drm-tip this is the commit history: > > 4229a470175b stddef.h: Introduce sizeof_field() > ... > > For this patch the DECLARE_FLEX_ARRAY() helper is needed. But the build > fails due to the last tree commits for stddef.h file are not present. > So, if I understand correctly, drm-tip is not up to date with linux-next. linux-next is an ephemeral integration branch for most arch, subsystem and driver -next branches. drm-tip is an ephemeral integration branch for drm subsystem and driver -next branches. They contain different sets of branches. They are constantly rebuilt. They are not the end result or end goal. If a problem (or a solution, for that matter) only exists in the merge of some of those branches, you can't actually fix it until such a merge exists somewhere more permanent than an ephemeral integration branch. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center