Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp643138pxv; Thu, 8 Jul 2021 10:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRrm1tJIf9GuyYW+cN/rJqnPUbegZdpNkviSrQcdaAhYgAAnfwqpN7vq1r1/UM6BXANbhD X-Received: by 2002:a6b:b210:: with SMTP id b16mr19804334iof.209.1625765695443; Thu, 08 Jul 2021 10:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625765695; cv=none; d=google.com; s=arc-20160816; b=u7+IivMIHaisiw190yDrr1MoeldeIhdRXSnnt0YVfJ5xO9swnVuKveACoNxvRcKu2J 5ozSbIn95socqg21vqXqe8jB33VLp9lT2pZajNGIo5y33pMKCtC5G2GQMg6nX2HSkj7/ feFoF6TPCEl0IDTMBJlbAyA1ISAFuZafCZuX4ExX3G6C/Z3kA0mwxAcHIw5cgwq7BNUX QJPiEDkKs6Qe5dnP2mOXl0v7LHtgFGknPBAssiQx4ShaUuapPk8JG7SY+lLQ+uI6gnOx tM6GKC/YkN2JPVkQUKxTgFu8Lwl3hpq1HE0xcB2xklPWcN/3rrA0vNBf/hzV6ZGB73nA QURQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=KLrdSvYEEX3YZrkKPq6HFsJS1XSZeD9kvdsdsDbRcDo=; b=hn++T8irzOCM5oIYek7nvFIukE4Q2IucNePukeKOI4l6XGyEpJ8tmSgOLnNUztusxQ b2/DcZdBwex1dUD7Fn5XjUl++epoh1gaXTjrrcxxJyzLJc9eSLK1mpJ15MDbPCEmGHhD f4EFZxjp0RFkFQEI3V9iRvULON9rEYwTgNGalBmrOsEu8QhO8IxytKOgdV8tUtyX90qI 4OyOwqefMflsf87pudp447LTVHNCmivKAsQeOCnhQOB6HHvzA0zM8Vx2oxVOSy8QUqxv Csa2ENinDLpscjH1cBpHvzbP11emlZmq392HF6Fkq1e2bC52UmqvyoE7Iu+Kv5D3Sea2 xG6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vt-edu.20150623.gappssmtp.com header.s=20150623 header.b="IQIB//A0"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si2873974jaf.48.2021.07.08.10.34.43; Thu, 08 Jul 2021 10:34:55 -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=@vt-edu.20150623.gappssmtp.com header.s=20150623 header.b="IQIB//A0"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230093AbhGHRgf (ORCPT + 99 others); Thu, 8 Jul 2021 13:36:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbhGHRgf (ORCPT ); Thu, 8 Jul 2021 13:36:35 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 400ECC061574 for ; Thu, 8 Jul 2021 10:33:53 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id a6so6460442qka.4 for ; Thu, 08 Jul 2021 10:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:in-reply-to :references:mime-version:content-transfer-encoding; bh=KLrdSvYEEX3YZrkKPq6HFsJS1XSZeD9kvdsdsDbRcDo=; b=IQIB//A0IcNgkHerG/VTCY4MIR8s4PgemOFT8bygqdiH7RqY0kWYAwTyTYT5RlZrwK N0zyXPl7b8j8grNIbAqg0AcAFvvLMt007N9UZxAwjK9MyOUulKVzzXiTj+/seZIwtEr1 r/R+EJNTveeVTfwq6c6ZPD6zuMCJ+EFPe9GpvvcEmkPY1HODVBas/YfvGgtdJJlSlxcH X6Oi+15EKTAKbKO+6ic7WQ2OkD3aXmzjqr7YyUZ9zRfP4+MvK7zQB8Is8O7y+j9SPeDL hvYBnV0KIksMzxhE6Y05kSt0GTG+1c+ixLdCmIidsIO0HOu7ej0bjN2ju9FzOyAvx80o SAtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :in-reply-to:references:mime-version:content-transfer-encoding; bh=KLrdSvYEEX3YZrkKPq6HFsJS1XSZeD9kvdsdsDbRcDo=; b=Mwfl1QXYUx7Dt+G1yfB5i+Kmyj+7kkjANv27I+QalmFehhpoDo4wQld9K86hkoNjq8 WE8N7Yjz50RIWtklVE28psqnwpRxzO94a2x3AMHttwtjYh84bd/JixSs4GFQI2CrmPiq leVgTsxMxPv2WE2cwJEMskPw/YeAGrT7mgZiCj2diCRZKdFQmqriHV3S5jcDdlL19mx9 OTO0LW3Rta9+zz5sjhTu79KA9FSMDmbo0gl2f32i/krHyWRXBJ1gAR5qKFlpA+D1SAOP MVlMCtfCw87O9lvJ2XX9lRGey1U4W3oZLN915GnSIvR8bWyu7bgqtyvIVmeweyJ5Y7OL Wojg== X-Gm-Message-State: AOAM532TO+SFNbIJyBXyQmDmkN5Pf09YjSEVeEPLyYirVF5WUGYTI6ph 4i8NzXl6yAhsRlCe639ghkGV3A== X-Received: by 2002:a05:620a:17a5:: with SMTP id ay37mr33224910qkb.465.1625765632330; Thu, 08 Jul 2021 10:33:52 -0700 (PDT) Received: from iron-maiden.localnet (50-200-151-121-static.hfc.comcastbusiness.net. [50.200.151.121]) by smtp.gmail.com with ESMTPSA id 137sm1273860qkf.29.2021.07.08.10.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 10:33:52 -0700 (PDT) From: Carlos Bilbao To: davem@davemloft.net, Joe Perches Cc: kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, gregkh@linuxfoundation.org Subject: [PATCH net-next v2] drivers: net: Follow the indentation coding standard on printks Date: Thu, 08 Jul 2021 13:33:51 -0400 Message-ID: <5183009.Sb9uPGUboI@iron-maiden> Organization: Virginia Tech In-Reply-To: <03ad1f2319a608bbfe3fc09e901742455bf733a0.camel@perches.com> References: <1884900.usQuhbGJ8B@iron-maiden> <03ad1f2319a608bbfe3fc09e901742455bf733a0.camel@perches.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: v2 - Remove the printks inside XXXDEBUG --- diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index b125d7faefdf..0d8ddfdd5c09 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c @@ -3169,7 +3169,7 @@ dc2114x_autoconf(struct net_device *dev) default: lp->tcount++; -printk("Huh?: media:%02x\n", lp->media); + printk(KERN_NOTICE "Huh?: media:%02x\n", lp->media); lp->media = INIT; break; } diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c.rej b/drivers/net/ethernet/dec/tulip/de4x5.c.rej new file mode 100644 index 000000000000..949b9902b0bc --- /dev/null +++ b/drivers/net/ethernet/dec/tulip/de4x5.c.rej @@ -0,0 +1,11 @@ +--- drivers/net/ethernet/dec/tulip/de4x5.c ++++ drivers/net/ethernet/dec/tulip/de4x5.c +@@ -3169,7 +3169,7 @@ dc2114x_autoconf(struct net_device *dev) + + default: + lp->tcount++; +-printk("Huh?: media:%02x\n", lp->media); ++ printk("Huh?: media:%02x\n", lp->media); + lp->media = INIT; + break; + } diff --git a/drivers/net/sb1000.c b/drivers/net/sb1000.c index e88af978f63c..a7a6bd7ef015 100644 --- a/drivers/net/sb1000.c +++ b/drivers/net/sb1000.c @@ -759,9 +759,6 @@ sb1000_rx(struct net_device *dev) ioaddr = dev->base_addr; insw(ioaddr, (unsigned short*) st, 1); -#ifdef XXXDEBUG -printk("cm0: received: %02x %02x\n", st[0], st[1]); -#endif /* XXXDEBUG */ lp->rx_frames++; /* decide if it is a good or bad frame */ @@ -804,9 +801,6 @@ printk("cm0: received: %02x %02x\n", st[0], st[1]); if (st[0] & 0x40) { /* get data length */ insw(ioaddr, buffer, NewDatagramHeaderSize / 2); -#ifdef XXXDEBUG -printk("cm0: IP identification: %02x%02x fragment offset: %02x%02x\n", buffer[30], buffer[31], buffer[32], buffer[33]); -#endif /* XXXDEBUG */ if (buffer[0] != NewDatagramHeaderSkip) { if (sb1000_debug > 1) printk(KERN_WARNING "%s: new datagram header skip error: " -- 2.25.1