From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91DA1C43219 for ; Mon, 15 Nov 2021 11:35:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61C4E61C32 for ; Mon, 15 Nov 2021 11:35:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 61C4E61C32 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8262E6E90E; Mon, 15 Nov 2021 11:35:58 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7CDCC6E90E for ; Mon, 15 Nov 2021 11:35:57 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10168"; a="213457567" X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="213457567" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 03:35:57 -0800 X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="505887119" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 03:35:55 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1mmaH5-0072mi-3s; Mon, 15 Nov 2021 13:35:47 +0200 Date: Mon, 15 Nov 2021 13:35:46 +0200 From: Andy Shevchenko To: Thomas Zimmermann Subject: Re: [PATCH v1 1/1] drm: Replace kernel.h with the necessary inclusions Message-ID: References: <20211110102423.54282-1-andriy.shevchenko@linux.intel.com> <887a15cb-3a3b-4ba2-aa0f-a241e70a19fa@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Linux Kernel Mailing List , dri-devel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Nov 10, 2021 at 05:39:33PM +0100, Thomas Zimmermann wrote: > Am 10.11.21 um 17:34 schrieb Andy Shevchenko: > > On Wed, Nov 10, 2021 at 3:55 PM Thomas Zimmermann wrote: > > > Am 10.11.21 um 11:24 schrieb Andy Shevchenko: ... > > > > +#include > > > > > > I built this patch on a recent drm-misc-next, but there's no > > > linux/container_of.h > > > > Thank you for trying. It's in the upstream, whenever drm-misc-next > > switches to newer/newest upstream it will be there. I assume it will > > happen after v5.16-rc1? > > Yes, we'll certainly backmerge soon after rc1 has been released. If I forget > to add the patch then, please send a reminder. > > Once the necessary headers are available, $ git log --oneline v5.16-rc1 -- include/linux/container_of.h e1edc277e6f6 linux/container_of.h: switch to static_assert d2a8ebbf8192 kernel.h: split out container_of() and typeof_member() macros > the patch is > Acked-by: Thomas Zimmermann Thanks! -- With Best Regards, Andy Shevchenko