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 AEB41C43334 for ; Sun, 17 Jul 2022 21:50:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbiGQVuG (ORCPT ); Sun, 17 Jul 2022 17:50:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiGQVuF (ORCPT ); Sun, 17 Jul 2022 17:50:05 -0400 Received: from mail.enpas.org (zhong.enpas.org [46.38.239.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 697B9FD27; Sun, 17 Jul 2022 14:50:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id 4CF2DFF95E; Sun, 17 Jul 2022 21:50:03 +0000 (UTC) Date: Sun, 17 Jul 2022 23:50:00 +0200 From: Max Staudt To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Marc Kleine-Budde , Paolo Abeni , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC PATCH] can: can327: remove useless header inclusions Message-ID: <20220717235000.247bfa42.max@enpas.org> In-Reply-To: <20220716170201.2020510-1-dario.binacchi@amarulasolutions.com> References: <20220716170201.2020510-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sat, 16 Jul 2022 19:02:01 +0200 Dario Binacchi wrote: > -#include > #include > - > -#include > -#include > -#include > -#include > -#include > -#include > -#include > -#include > -#include > -#include > #include > -#include > -#include > - > -#include > - > -#include > #include > -#include > #include AFAIK, the coding style is to not rely on headers including other headers. Instead, the appropriate header for every symbol used should be included. This is also valid for the similar patch you submitted for slcan. Unless something has changed, this is a NAK from me, sorry. Max