From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755951AbbJ1XB6 (ORCPT ); Wed, 28 Oct 2015 19:01:58 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35842 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbbJ1XB5 (ORCPT ); Wed, 28 Oct 2015 19:01:57 -0400 Date: Thu, 29 Oct 2015 08:01:54 +0900 From: Greg Kroah-Hartman To: James Simmons Cc: devel@driverdev.osuosl.org, Oleg Drokin , Andreas Dilger , James Simmons , Linux Kernel Mailing List , lustre-devel@lists.lustre.org Subject: Re: [PATCH 08/10] staging: lustre: remove white space in libcfs_hash.h Message-ID: <20151028230154.GA10118@kroah.com> References: <1446051271-25189-1-git-send-email-jsimmons@infradead.org> <1446051271-25189-9-git-send-email-jsimmons@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446051271-25189-9-git-send-email-jsimmons@infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2015 at 12:54:29PM -0400, James Simmons wrote: > From: James Simmons > > Cleanup all the unneeded white space in libcfs_hash.h. > > Signed-off-by: James Simmons > --- > .../lustre/include/linux/libcfs/libcfs_hash.h | 147 ++++++++++---------- > 1 files changed, 73 insertions(+), 74 deletions(-) > > diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h > index 70b8b29..5df8ba2 100644 > --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h > +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h > @@ -41,6 +41,9 @@ > > #ifndef __LIBCFS_HASH_H__ > #define __LIBCFS_HASH_H__ > + > +#include > + > /* > * Knuth recommends primes in approximately golden ratio to the maximum > * integer representable by a machine word for multiplicative hashing. > @@ -56,22 +59,13 @@ > /* 2^63 + 2^61 - 2^57 + 2^54 - 2^51 - 2^18 + 1 */ > #define CFS_GOLDEN_RATIO_PRIME_64 0x9e37fffffffc0001ULL > > -/* > - * Ideally we would use HAVE_HASH_LONG for this, but on linux we configure > - * the linux kernel and user space at the same time, so we need to differentiate > - * between them explicitly. If this is not needed on other architectures, then > - * we'll need to move the functions to architecture specific headers. > - */ > - > -#include > - That's not "cleaning up whitespace", that's "deleting unused/unneeded stuff. Please be more careful and only do one thing per patch, you know better than to try to sneak other changes in. I'll stop here in applying this series, please fix up and resend. greg k-h