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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EF44C43334 for ; Mon, 6 Jun 2022 09:31:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233077AbiFFJbK (ORCPT ); Mon, 6 Jun 2022 05:31:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233057AbiFFJbA (ORCPT ); Mon, 6 Jun 2022 05:31:00 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A541D681C for ; Mon, 6 Jun 2022 02:30:59 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2565KdFF012652; Mon, 6 Jun 2022 04:30:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=PODMain02222019; bh=dSUqhCTZXHV3N+XZL5p1hy3iq3wKm8e7EJunKldfbbA=; b=nb6u/4JYc1CXIX4SlLnBuHHK3INE0YuQqALVJ5alQ8rushYfooq6oVaxZcoEMp3jsiuY Ya/f8a0PMgVsHEP5ISLxem7t6fybq7OSbeesDkXeDQFwmR6VVNdjmEOB3MZ3LWxmlZjn QT7uOv1DAzkgS8YmeAMnfAqIJYV0dB/3UCYaTNONdYVfMNVcxcbciKggptAkxgABdert KJChcotRsjuRE36hspqIxqoW9BYGjMh7+K3Atf+A5y2x5me1XH/EUol8IfOJ0SzzrtjS mX/lX7eDOsfHCUtsLscTD8OTjXEQ+mTuVudCfSLX3H8xfrsifLccPK6ERR19kVrKY1lA Ug== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3gg3tq1p30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 06 Jun 2022 04:30:02 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 6 Jun 2022 10:30:00 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 6 Jun 2022 10:30:00 +0100 Received: from [10.0.2.15] (AUSNPC0LSNW1.ad.cirrus.com [198.90.251.45]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id F0C22B10; Mon, 6 Jun 2022 09:29:59 +0000 (UTC) Subject: Re: [PATCH v1 1/1] ASoC: madera: Replace kernel.h with the necessary inclusions To: Andy Shevchenko , , , CC: Charles Keepax , Jaroslav Kysela , Takashi Iwai References: <20220603170707.48728-1-andriy.shevchenko@linux.intel.com> From: Richard Fitzgerald Message-ID: <1b5ba014-44ca-e753-141a-d8ff5fd248bb@opensource.cirrus.com> Date: Mon, 6 Jun 2022 10:29:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220603170707.48728-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: YCcBa_HjJdfFg4ONq-SqjxXb_0YSvico X-Proofpoint-GUID: YCcBa_HjJdfFg4ONq-SqjxXb_0YSvico X-Proofpoint-Spam-Reason: safe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/2022 18:07, 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 > --- Reviewed-by: Richard Fitzgerald 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47581C433EF for ; Mon, 6 Jun 2022 09:31:11 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 805771767; Mon, 6 Jun 2022 11:30:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 805771767 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1654507869; bh=hptmirzpxdfe7VL/+OG+1YyH3ex6/jyGAeUaGVYaUKw=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=NV8E9CldkvJGaEUPvENw8bMSHr5kHSStwzhHRIjT4UjTQOGh67WbVUbZkrpBm3q+K dDwsjWyHHSuSu2WbzFLncNX5nZUhxHBx1ieQ80OR/2hYUPUCH8LvTquB0WLfweIVtf upN34D3lVpk267KUnDDvQAhDsXUn39FNPBeYum/Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E73D6F80116; Mon, 6 Jun 2022 11:30:18 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 53565F801D8; Mon, 6 Jun 2022 11:30:16 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 929C9F80116 for ; Mon, 6 Jun 2022 11:30:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 929C9F80116 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="nb6u/4JY" Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2565KdFF012652; Mon, 6 Jun 2022 04:30:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=PODMain02222019; bh=dSUqhCTZXHV3N+XZL5p1hy3iq3wKm8e7EJunKldfbbA=; b=nb6u/4JYc1CXIX4SlLnBuHHK3INE0YuQqALVJ5alQ8rushYfooq6oVaxZcoEMp3jsiuY Ya/f8a0PMgVsHEP5ISLxem7t6fybq7OSbeesDkXeDQFwmR6VVNdjmEOB3MZ3LWxmlZjn QT7uOv1DAzkgS8YmeAMnfAqIJYV0dB/3UCYaTNONdYVfMNVcxcbciKggptAkxgABdert KJChcotRsjuRE36hspqIxqoW9BYGjMh7+K3Atf+A5y2x5me1XH/EUol8IfOJ0SzzrtjS mX/lX7eDOsfHCUtsLscTD8OTjXEQ+mTuVudCfSLX3H8xfrsifLccPK6ERR19kVrKY1lA Ug== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3gg3tq1p30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 06 Jun 2022 04:30:02 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 6 Jun 2022 10:30:00 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 6 Jun 2022 10:30:00 +0100 Received: from [10.0.2.15] (AUSNPC0LSNW1.ad.cirrus.com [198.90.251.45]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id F0C22B10; Mon, 6 Jun 2022 09:29:59 +0000 (UTC) Subject: Re: [PATCH v1 1/1] ASoC: madera: Replace kernel.h with the necessary inclusions To: Andy Shevchenko , , , References: <20220603170707.48728-1-andriy.shevchenko@linux.intel.com> From: Richard Fitzgerald Message-ID: <1b5ba014-44ca-e753-141a-d8ff5fd248bb@opensource.cirrus.com> Date: Mon, 6 Jun 2022 10:29:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220603170707.48728-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: YCcBa_HjJdfFg4ONq-SqjxXb_0YSvico X-Proofpoint-GUID: YCcBa_HjJdfFg4ONq-SqjxXb_0YSvico X-Proofpoint-Spam-Reason: safe Cc: Charles Keepax , Takashi Iwai X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 03/06/2022 18:07, 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 > --- Reviewed-by: Richard Fitzgerald