From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751209AbdBLKjc (ORCPT ); Sun, 12 Feb 2017 05:39:32 -0500 Received: from mail-lf0-f52.google.com ([209.85.215.52]:32812 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbdBLKja (ORCPT ); Sun, 12 Feb 2017 05:39:30 -0500 Subject: Re: [PATCH 1/2] include: Fix checkpatch whitespace error and warning To: "Tobin C. Harding" , "David S . Miller" References: <1486868254-5386-1-git-send-email-me@tobin.cc> <1486868254-5386-2-git-send-email-me@tobin.cc> Cc: mawilcox@microsoft.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Sergei Shtylyov Message-ID: Date: Sun, 12 Feb 2017 13:39:27 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <1486868254-5386-2-git-send-email-me@tobin.cc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 2/12/2017 5:57 AM, Tobin C. Harding wrote: > This patch fixes two trivial whitespace messages (ERROR/WARNING). > Fixes trailing whitespace ERROR and fixes space before tabs WARNING. > > Signed-off-by: Tobin C. Harding > --- > include/linux/idr.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/idr.h b/include/linux/idr.h > index 3c01b89..4a8de2f 100644 > --- a/include/linux/idr.h > +++ b/include/linux/idr.h > @@ -1,6 +1,6 @@ > /* > * include/linux/idr.h > - * > + * > * 2002-10-18 written by Jim Houston jim.houston@ccur.com > * Copyright (C) 2002 by Concurrent Computer Corporation > * Distributed under the GNU GPL license version 2. > @@ -183,7 +183,7 @@ static inline void *idr_find(struct idr *idr, int id) > */ > #define IDA_CHUNK_SIZE 128 /* 128 bytes per chunk */ > #define IDA_BITMAP_LONGS (IDA_CHUNK_SIZE / sizeof(long) - 1) > -#define IDA_BITMAP_BITS (IDA_BITMAP_LONGS * sizeof(long) * 8) > +#define IDA_BITMAP_BITS (IDA_BITMAP_LONGS * sizeof(long) * 8) Why replace tab with spaces?! [...] MBR, Sergei