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 33B09C433EF for ; Thu, 7 Oct 2021 17:13:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1841261139 for ; Thu, 7 Oct 2021 17:13:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243162AbhJGRO5 (ORCPT ); Thu, 7 Oct 2021 13:14:57 -0400 Received: from smtprelay0182.hostedemail.com ([216.40.44.182]:54322 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S242368AbhJGRO4 (ORCPT ); Thu, 7 Oct 2021 13:14:56 -0400 Received: from omf02.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id C58171811A19F; Thu, 7 Oct 2021 17:13:01 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA id 72D9F1D42F4; Thu, 7 Oct 2021 17:12:57 +0000 (UTC) Message-ID: <1ec405c5a8fd24de9066277ce855d7e39f93e691.camel@perches.com> Subject: Re: [PATCH v4 6/7] plist: Replace kernel.h with the necessary inclusions From: Joe Perches To: Andy Shevchenko , Brendan Higgins , Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-media@vger.kernel.org Cc: Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , Sakari Ailus , Laurent Pinchart , Mauro Carvalho Chehab , Andrew Morton , Miguel Ojeda , jic23@kernel.org, linux@rasmusvillemoes.dk, Thorsten Leemhuis Date: Thu, 07 Oct 2021 10:12:56 -0700 In-Reply-To: <20211007154407.29746-7-andriy.shevchenko@linux.intel.com> References: <20211007154407.29746-1-andriy.shevchenko@linux.intel.com> <20211007154407.29746-7-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: 72D9F1D42F4 X-Stat-Signature: oag3nkm57ngckqu19ut97huuk5dw7sne X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+aKNp/TNvF059IFsMJItYUt7L9u1VR9Ew= X-HE-Tag: 1633626777-214763 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-10-07 at 18:44 +0300, Andy Shevchenko wrote: > When kernel.h is used in the headers it adds a lot into dependency hell, > especially when there are circular dependencies are involved. > > Replace kernel.h inclusion with the list of what is really being used. [] > diff --git a/include/linux/plist.h b/include/linux/plist.h [] > @@ -73,8 +73,11 @@ [] > +#include why asm/bug.h and not linux/bug.h ?