lkml.org 
[lkml]   [2017]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/2] include: Fix checkpatch whitespace error and warning
Date
Don't worry about this file; I have a complete rewrite already queued.

> -----Original Message-----
> From: Tobin C. Harding [mailto:me@tobin.cc]
> Sent: Saturday, February 11, 2017 9:58 PM
> To: David S . Miller <davem@davemloft.net>
> Cc: Matthew Wilcox <mawilcox@microsoft.com>; netdev@vger.kernel.org;
> linux-kernel@vger.kernel.org; Tobin C. Harding <me@tobin.cc>
> Subject: [PATCH 1/2] include: Fix checkpatch whitespace error and warning
>
> 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 <me@tobin.cc>
> ---
> 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)
>
> struct ida_bitmap {
> long nr_busy;
> --
> 2.7.4

\
 
 \ /
  Last update: 2017-02-12 13:18    [W:0.723 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site