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

2016-08-02 Thread Bob Peterson
- 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

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

2016-07-26 Thread Andreas Gruenbacher
Fabian, On Sun, Jul 24, 2016 at 4:24 PM, Fabian Frederick 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);

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

2016-07-24 Thread Fabian Frederick
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 +-