Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp566189pxv; Thu, 8 Jul 2021 08:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/9PMMFdL44NyxSeO5s7fsTSXvJ+Y28DpwTBQOVE4+GVE2ZImjUd6zQKEAeE5GtNdfDaW8 X-Received: by 2002:a02:2a07:: with SMTP id w7mr27543250jaw.96.1625759428390; Thu, 08 Jul 2021 08:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625759428; cv=none; d=google.com; s=arc-20160816; b=YDVopDnDM93gBSxVq0/4PWOX78JzX6MTIFTwNTSd4IkJxwmgN9xy7f9ZCkLH+6OyHV c54ChNB7deCJgbPA3EtJK79ciFziO/brvlGsG9rgu/SpoNmYKQtUwcgx+4e0fhd0Bh34 VaWQemg1uhYQMyeDDM9/k/QPJTlH64azPs51XVbi65CjEqIABFFfvf0oILCoKnIL2dVd XD84qxPkdyPpLPFxHdNJCg0y+3DoxuPJiKgVEsobUpBpGvM6Tr2L47/ZQFuOujRZYEw/ suO4sOkISH85VWfZeJaTPALtf0NtumydlNMRXyxpxavDSEoWMJS4AO9LacRHQTQtGO40 BF9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=idm2824af4WvDweWDAByXt9zmw699TMPDqruecxrjVQ=; b=MqjwWWi7WUzgukJb40TwvIbZGv1oYIeL5RQy5LzjyUAtm70z7DSzxz+zQAFkplmWxI sju/ZMH6OBw0V3AVV8CX+9wF1EPRxRWKwIzkrQsPq5dlnAZovwdeFh90HJ9tkRc4Th0z vf0jstF5ykbvRR7dzNX7Q5pI2NFO2/ApCmVEgok9RnNuhaNiaiFwJfqZXIJzD9J7YqVW XcHnGKu79MpJJrZQ7x+648l5/dBg3TODySpBpQAwCOz2V6NXC/446iZz9r5QT+9cXk0l R2TzMZRSx26j9YV64hLnpHmwZyTge5A9TYhoSpTOqlf0rDipTeILsrXOXnXRrmIAsPwT TsuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=33ssX0aP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si2566633ilk.155.2021.07.08.08.50.15; Thu, 08 Jul 2021 08:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=33ssX0aP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232080AbhGHPuv (ORCPT + 99 others); Thu, 8 Jul 2021 11:50:51 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:46408 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232073AbhGHPuv (ORCPT ); Thu, 8 Jul 2021 11:50:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=idm2824af4WvDweWDAByXt9zmw699TMPDqruecxrjVQ=; b=33ssX0aPQkjpRTibNDxYyAJUEF Ma5327BtIUPyz40/ZSKrFWwiFFVNUeYEvTz3rrN+iZDS79niDj6c4+/RmeJLjymkev/EPkPjZJLJB LYMzsvQmYm9fWgJFerv1+QSDrgB2OlecLABrsQO32Agg/OnKqg834JfqbwZtyonl2024=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1m1WFw-00CeiP-V6; Thu, 08 Jul 2021 17:48:04 +0200 Date: Thu, 8 Jul 2021 17:48:04 +0200 From: Andrew Lunn To: Carlos Bilbao Cc: 3chas3@gmail.com, linux-atm-general@lists.sourceforge.net, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: atm: Follow the indentation coding standard on printks Message-ID: References: <2784471.e9J7NaK4W3@iron-maiden> <5630870.MhkbZ0Pkbq@iron-maiden> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5630870.MhkbZ0Pkbq@iron-maiden> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 08, 2021 at 11:19:19AM -0400, Carlos Bilbao wrote: > Fix indentation of printks that start at the beginning of the line. Change this > for the right number of space characters, or tabs if the file uses them. > > Signed-off-by: Carlos Bilbao > --- > Changelog: Replaced printk for DPRINTK on suni.c > --- > drivers/atm/eni.c | 2 +- > drivers/atm/iphase.c | 2 +- > drivers/atm/suni.c | 4 ++-- > drivers/atm/zatm.c | 8 ++++---- > 4 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c > index 422753d52244..6d10fd62ba7e 100644 > --- a/drivers/atm/eni.c > +++ b/drivers/atm/eni.c > @@ -1456,7 +1456,7 @@ static int start_tx(struct atm_dev *dev) > > static void foo(void) > { > -printk(KERN_INFO > + printk(KERN_INFO > "tx_complete=%d,dma_complete=%d,queued=%d,requeued=%d,sub=%d,\n" > "backlogged=%d,rx_enqueued=%d,rx_dequeued=%d,putting=%d,pushed=%d\n", > tx_complete,dma_complete,queued,requeued,submitted,backlogged, Did you just blindly fix the warning, or look at the surrounding code and think a bit? There is the comment: /* may become useful again when tuning things */ What does git log show? When was the last tuning? When was the last serious change made to this driver which was not an automated/manual cleanup? My guess is, you need to go back to at least 2005. So maybe it is time to remove this #if 0 code? Please also read https://www.kernel.org/doc/Documentation/process/submitting-patches.rst and https://www.kernel.org/doc/html/latest/networking/netdev-FAQ.html Andrew