Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6992822rwr; Tue, 25 Apr 2023 06:50:46 -0700 (PDT) X-Google-Smtp-Source: AKy350ZAgrCxXz0gCMDLXSt9O0nb41nLrQ6iWsTWe58mwAxI2xkhBijmMXdzJj88Eqt+4Nt4p0ZM X-Received: by 2002:a17:90a:950e:b0:23d:1b50:1ebe with SMTP id t14-20020a17090a950e00b0023d1b501ebemr18156475pjo.27.1682430645908; Tue, 25 Apr 2023 06:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682430645; cv=none; d=google.com; s=arc-20160816; b=RerFVVDnnp3+Bd9OxS3WxPo/vq5TsbmdRZmetMR+GBgOEbVNKJ8H4JzzASiOIU2tsz ym141VyujUqUcPxqnM43Rg56kHf408WZM6v/BucC3HdIGJIyA86esjwMjeRvaPhVwz4A uc6/WTrOFAN27+3JmZJ9f5bF7ARurmWVJcKS5wZhdXcIBdY0U9f8Agx8TX8iXyyhcn5b zJ46QV76F4NrinLcQLxW9DAIeNXW1oGkx/O6ip/wLqHpEdhx0H+jFbNXFAcYUUFg40Yf ky+8I91Zam3FD5k7hWlYmXWJZhNs3zx4hGZTvOh771UUjXOlHB6wU2ztW+LAZxWAVu0Z vohA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3oWHGvgv7PFexcGERoaslmWBKXtxYBGCoWMs4hmr1L8=; b=dSdzsUieVAnjysRmTuweEVRruRryx7PbWpQZ2hkZtbAYQ5WPU3Y9M/0XQRgNd7gHdf X+y8mNjG5Axy62vc+nNAUBYGMZadl3G4WRCxNuRf4UhNGji3GuJHkTIXsHsdQezxpIRp /69swMfUOtDzHV+rjyqEClw/WPlPJ7St2tNA5pEbTlIwDwxupzD7X9264MR+IY1D28CU oH7xjzFqFIYa03fxEFXftyxlD/i0egUmJfY1UUpMklzrIYH631tewP+tXjY+5+PBFBd6 YJ370v0W3TGriRLxnsOT9C6/XmF1I6Vs8CrAe/u8YRpCqQ8WsSniU/Q2dBMFqmEdIAPw Z6xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A4CO2wCD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm8-20020a17090b3ec800b00246a5991cc6si14946074pjb.162.2023.04.25.06.50.34; Tue, 25 Apr 2023 06:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A4CO2wCD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234212AbjDYNp1 (ORCPT + 99 others); Tue, 25 Apr 2023 09:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjDYNp0 (ORCPT ); Tue, 25 Apr 2023 09:45:26 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D7FD19BC; Tue, 25 Apr 2023 06:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682430325; x=1713966325; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=k/ABWJ2xxNYCYrGZUiTvjqFyFuCe4XdVVI+pcOUNIv8=; b=A4CO2wCD+vygGngqhNi+C+Juzoch3wTbsnSvCRehfyXVtkDiuxwfE3WX /aB2Ei0evzE/1jAnqfhG7gY77tlwg3Wn71bz5v7aat7PAqiEp2Ybl/M2v l3I94t4MXKYonXy3vjfF63iISI6TE8TPiIGiij4p1qY0jCRmxQZk31PaX GPwKH12kCprch3WT0xQ5I0R/+mMKBtAILxNi7DdFeZMyRt76FwsAUhUF7 YpVdPmQfxr1ejB7fGKkZo8Twq/os0cO4Fmp8GB6PYxDYwGdJcDYA87tJJ uNb036Bl2REMitKaBq9dnBmCFGaDukrQFTqYtnNFg8fqPSMiuGWqjMtfh A==; X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="345521094" X-IronPort-AV: E=Sophos;i="5.99,225,1677571200"; d="scan'208";a="345521094" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 06:45:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="724036501" X-IronPort-AV: E=Sophos;i="5.99,225,1677571200"; d="scan'208";a="724036501" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2023 06:45:21 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1prIyt-00505G-0n; Tue, 25 Apr 2023 16:45:19 +0300 Date: Tue, 25 Apr 2023 16:45:18 +0300 From: Andy Shevchenko To: Matti Vaittinen Cc: Matti Vaittinen , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Zhigang Shi , Shreeya Patel , Paul Gazzillo , Dmitry Osipenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/5] iio: light: ROHM BU27008 color sensor Message-ID: References: <47998ed8-5160-69dd-1767-e1746971a9b9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47998ed8-5160-69dd-1767-e1746971a9b9@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 25, 2023 at 08:24:01AM +0300, Matti Vaittinen wrote: > On 4/24/23 18:22, Andy Shevchenko wrote: > > On Mon, Apr 24, 2023 at 04:10:09PM +0300, Matti Vaittinen wrote: ... > > This... > > > > > +#include > > > > ...is guaranteed to be included by this. > > > > > +#include > > Out of the curiosity - do we have a rule and rationale for explicitly > including headers with 'stuff' we use Vs. trusting some header being > included by another one? I've not thought much of this so I don't know if > there are any pros/cons? That's what we are starving for actually. Currently this is a tribe knowledge which one gets while being involved into Linux kernel development for a long time and being capable of keeping an eye on tree wide, library or similar changes. I would love to see some (preferably generated) list of the header dependencies. Yet, the header dependency hell should be solved meanwhile (see Ingo's 2k+ patch series). -- With Best Regards, Andy Shevchenko