Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp675024pxv; Thu, 8 Jul 2021 11:17:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6HDJ73X4lIhLc8pbVY1REg674iYZu37Bgt2XuUk3kWgl2oHSxBy4LuzN1UsmpTq3q3kJM X-Received: by 2002:a17:906:9c84:: with SMTP id fj4mr26286644ejc.274.1625768259702; Thu, 08 Jul 2021 11:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625768259; cv=none; d=google.com; s=arc-20160816; b=OjimJzqQkf1GgRJlcYNcpV54PISpH6YV3ZR7QDh1kBB9Df2XObRI2zZCgJFN+5IUCz LhbocXQXaarDBA4RLr2aFKDcAXvivbveoYaI7fj+t5YjLxKuJenDHGXpvUpVyDEUZWoc pwTaWlOorXL1qxrEZ+XlCYIGMRggVZln/7hqltaTmgk/S9If9MoI2U4ZdkZT4TQijVrV O3xOflphApRNC/J+N+K9LfGBFenUB6vFgRd/ay1lGPYlp/xyPpvLuOLxDk6DAWgjkyWL +tFJ7PfOiIv2Sj5nRbLtsd4g+j713Ak/LoO/6x58vOXItxJzDi3+8XP/B8uVIt512mG8 RclA== 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=aX6j6wV645lyKvbGF6341srpQQruCbkhUKywWbI56k4=; b=KKF4gpzHzTIxnV6/lM/KGzUmv3mM5aePuuAZSFh8w7vdjUkBhgIwMbomWg9DwrNRO6 KsIbzBwr4tRdCbtvKHP3VfJ3WxUngtz4PosKbRxup1CBgrhTXxukQ0ocm5QCu3hSu2kb wSW8mk4tQRaJyO8qwzohTSighSo2RSX/pNZvQ31vL5Ex4ACsQzBzkd6yGvMYi5OASQ1X oTuH6laW6wLnVXpJoKGd12Xo1CWk6YXufAOoD+IaS696hn+c/ytwTofCmriG1CPVWe5b OAd1yYFy03qSvhNUlyttkxwPF3ja0ismpIEZBBcTT1iqVbpUlTaUp47W3eRMNe2AQv4z URBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=dO2DetIU; 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 eb8si3213199edb.414.2021.07.08.11.17.16; Thu, 08 Jul 2021 11:17:39 -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=dO2DetIU; 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 S230159AbhGHSSd (ORCPT + 99 others); Thu, 8 Jul 2021 14:18:33 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:46650 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbhGHSSb (ORCPT ); Thu, 8 Jul 2021 14:18:31 -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=aX6j6wV645lyKvbGF6341srpQQruCbkhUKywWbI56k4=; b=dO2DetIU9aB0IBUQhn7MFNEtgX psdHvdAM/YSNbDx9rBK4lduuOUaWteEynxFSkX8Wu3ROUuVCJj3b/D8zhzRfCQOwcS5e0Yuk9rdU/ Fs7pxszFt/DYEv/8rEIKgZ6BdP9DsIp0USIPoTEbaQHh20IO55H5Qhp2CMdiytocnj3I=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1m1YYs-00CfcR-Cc; Thu, 08 Jul 2021 20:15:46 +0200 Date: Thu, 8 Jul 2021 20:15:46 +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 net-next v2] drivers: atm: Follow the indentation coding standard on printks Message-ID: References: <2784471.e9J7NaK4W3@iron-maiden> <5630870.MhkbZ0Pkbq@iron-maiden> <108389762.nniJfEyVGO@iron-maiden> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <108389762.nniJfEyVGO@iron-maiden> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c > index bc8e8d9f176b..8a3ee51e6c9f 100644 > --- a/drivers/atm/iphase.c > +++ b/drivers/atm/iphase.c > @@ -1246,8 +1246,8 @@ static void rx_intr(struct atm_dev *dev) > ((iadev->rx_pkt_cnt - iadev->rx_tmp_cnt) == 0)) { > for (i = 1; i <= iadev->num_rx_desc; i++) > free_desc(dev, i); > -printk("Test logic RUN!!!!\n"); > - writew( ~(RX_FREEQ_EMPT|RX_EXCP_RCVD),iadev->reass_reg+REASS_MASK_REG); > + printk("Test logic RUN!!!!\n"); > + writew( ~(RX_FREEQ_EMPT|RX_EXCP_RCVD),iadev->reass_reg+REASS_MASK_REG); > iadev->rxing = 1; > } It looks like you turned a set of spaces into a tab for the writew() line. Please don't make such whitespace changes in the same patch as other changes. Yes, lots of things to learn before you get your first patch accepted... >> +++ b/drivers/atm/zatm.c > @@ -664,7 +644,7 @@ static int do_tx(struct sk_buff *skb) > EVENT("dsc (0x%lx)\n",(unsigned long) dsc,0); > } > else { > -printk("NONONONOO!!!!\n"); > + printk("NONONONOO!!!!\n"); > dsc = NULL; This seems like an error message. So maybe pr_err("NONONONOO!!!!\n"); These ATM drivers don't appear to be netdev drivers. There does not appear to be a struct device available, so you have to fall back to pr_err(), pr_info() etc. Andrew