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 E0120C433FE for ; Fri, 8 Oct 2021 02:18:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BDFB060FD7 for ; Fri, 8 Oct 2021 02:18:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235560AbhJHCUf (ORCPT ); Thu, 7 Oct 2021 22:20:35 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:55904 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233656AbhJHCUe (ORCPT ); Thu, 7 Oct 2021 22:20:34 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1mYfT0-0002Vk-4Y; Fri, 08 Oct 2021 10:18:34 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1mYfSr-0006Zi-Mn; Fri, 08 Oct 2021 10:18:25 +0800 Date: Fri, 8 Oct 2021 10:18:25 +0800 From: Herbert Xu To: Andy Shevchenko Cc: Peter Zijlstra , Thomas Gleixner , Randy Dunlap , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-media@vger.kernel.org, netdev@vger.kernel.org, Brendan Higgins , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , Sakari Ailus , Laurent Pinchart , Mauro Carvalho Chehab , Thomas Graf , Andrew Morton Subject: Re: [PATCH v2 3/4] lib/rhashtable: Replace kernel.h with the necessary inclusions Message-ID: <20211008021825.GA25242@gondor.apana.org.au> References: <20211007095129.22037-1-andriy.shevchenko@linux.intel.com> <20211007095129.22037-4-andriy.shevchenko@linux.intel.com> <20211007112328.GA19281@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Thu, Oct 07, 2021 at 02:44:41PM +0300, Andy Shevchenko wrote: > > Crap is in the kernel.h. Could you elaborate how making a proper list > of the inclusions is a crap? Unless you're planning on not including all those header files from kernel.h, then adding them all to an end node like rhashtable.c is just a waste of time. You should be targetting other header files and not c files. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt