Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1450425

Re: [Cluster-devel] [PATCH 1/1 linux-next] GFS2: use BIT() macro

From Andreas Gruenbacher <agruenba@redhat.com>
Newsgroups linux.kernel
Subject Re: [Cluster-devel] [PATCH 1/1 linux-next] GFS2: use BIT() macro
Date 2016-07-26 09:10 +0200
Message-ID <rZ4F3-7pO-21@gated-at.bofh.it> (permalink)
References <rYszL-xx-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fabian,

On Sun, Jul 24, 2016 at 4:24 PM, Fabian Frederick <fabf@skynet.be> wrote:
> 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);

this patch is looking good. I'm adding it to my for-next queue.

Thanks,
Andreas

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1 linux-next] GFS2: use BIT() macro Fabian Frederick <fabf@skynet.be> - 2016-07-24 16:30 +0200
  Re: [Cluster-devel] [PATCH 1/1 linux-next] GFS2: use BIT() macro Andreas Gruenbacher <agruenba@redhat.com> - 2016-07-26 09:10 +0200
  Re: [PATCH 1/1 linux-next] GFS2: use BIT() macro Bob Peterson <rpeterso@redhat.com> - 2016-08-02 19:30 +0200

csiph-web