From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935750AbcHBRUf (ORCPT ); Tue, 2 Aug 2016 13:20:35 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:58295 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932391AbcHBRTs (ORCPT ); Tue, 2 Aug 2016 13:19:48 -0400 Date: Tue, 2 Aug 2016 13:19:42 -0400 (EDT) From: Bob Peterson To: Fabian Frederick Cc: Steven Whitehouse , linux-kernel@vger.kernel.org, cluster-devel@redhat.com, Andreas Gruenbacher Message-ID: <1044049873.22806930.1470158382452.JavaMail.zimbra@redhat.com> In-Reply-To: <1469370252-5466-1-git-send-email-fabf@skynet.be> References: <1469370252-5466-1-git-send-email-fabf@skynet.be> Subject: Re: [PATCH 1/1 linux-next] GFS2: use BIT() macro MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.3.116.102] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF47 (Linux)/8.0.6_GA_5922) Thread-Topic: GFS2: use BIT() macro Thread-Index: 3GnBaa9c3d9hnancWfF4y6aI0lbkPA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- | Replace 1 << value shift by more explicit BIT() macro | | Also fixes two bare unsigned definitions: | | WARNING: Prefer 'unsigned int' to bare use of 'unsigned' | + unsigned hsize = BIT(ip->i_depth); | | Signed-off-by: Fabian Frederick | --- | fs/gfs2/aops.c | 2 +- | fs/gfs2/bmap.c | 6 +++--- | fs/gfs2/dir.c | 20 ++++++++++---------- | fs/gfs2/glock.c | 2 +- | fs/gfs2/inode.h | 2 +- | fs/gfs2/ops_fstype.c | 8 ++++---- | fs/gfs2/quota.c | 4 ++-- | fs/gfs2/super.c | 2 +- | 8 files changed, 23 insertions(+), 23 deletions(-) | Hi Fabian, Thanks. This is now applied to the for-next branch of the linux-gfs2 tree: https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=47a9a527946842dd8d83d4c8c8be22b2615b65f5 Regards, Bob Peterson Red Hat File Systems