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 1C1E3C433EF for ; Mon, 15 Nov 2021 11:31:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E1D8F63220 for ; Mon, 15 Nov 2021 11:31:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E1D8F63220 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R0lPLyNsiLEjBt40DkUaWStIbehOxSAWGiaizVD54z4=; b=pkQvoi6OGCntCB HKfa0BONuDcyDl7fl5W13+l1OGzrKdQn+gwjCYrMnp9AM7DKGm5flGHpdWMmcL9/Yg8ICKREtQPE2 IlTkltB8Ckuyv1YmWaq0GfEe/D0YqoO9JZOZ3zchM/Tuv7PW1/G3opom9Ltm0WrweZelXf2RhnjMC BC8T6tkRiignxWJ8fABCKSKXCQmB0dXQQlnxElqd9+0FfnBUU47ZuUUIJZpFPnQBFBugR291iV7J0 t2V2XIEPJSO5KuOGlTOaBh2hoDdqCQ0E+0oyK/6DMxgGOJxHju/XVWJe1woTvNrVY2wKhRKj1GTvO Wy1kPo1Robnl/wH2bgXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmaBy-00FO8J-9q; Mon, 15 Nov 2021 11:30:30 +0000 Received: from mga17.intel.com ([192.55.52.151]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmaBu-00FO7s-KL for linux-arm-kernel@lists.infradead.org; Mon, 15 Nov 2021 11:30:27 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10168"; a="214146289" X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="214146289" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 03:30:25 -0800 X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="671472663" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 03:30:24 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1mmaBj-0072iF-S4; Mon, 15 Nov 2021 13:30:15 +0200 Date: Mon, 15 Nov 2021 13:30:15 +0200 From: Andy Shevchenko To: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Cc: Li Yang , Qiang Zhao Subject: Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions Message-ID: References: <20211110105952.62013-1-andriy.shevchenko@linux.intel.com> <20211110105952.62013-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211110105952.62013-3-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211115_033026_698898_CA554FE0 X-CRM114-Status: GOOD ( 11.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 10, 2021 at 12:59:52PM +0200, 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. > > Signed-off-by: Andy Shevchenko > --- > v2: updated Cc list based on previous changes to MAINTAINERS Any comments on this, please? I really want to decrease amount of kernel.h usage in the common headers. So others won't copy'n'paste bad example. -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel