lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
    Date


    > -----Original Message-----
    > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    > Sent: Monday, November 15, 2021 5:30 AM
    > To: linux-kernel@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; linux-arm-
    > kernel@lists.infradead.org
    > Cc: Leo Li <leoyang.li@nxp.com>; Qiang Zhao <qiang.zhao@nxp.com>
    > Subject: Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary
    > inclusions
    >
    > 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 <andriy.shevchenko@linux.intel.com>
    > > ---
    > > 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.

    There seems to be no problem with the patch although I didn't get time to really compile with it applied.

    Will pick them up later after build test.

    Regards,
    Leo

    \
     
     \ /
      Last update: 2021-11-16 01:40    [W:3.483 / U:0.360 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site