Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-31 Thread Fabian Frederick
> On 28 December 2014 at 19:21 Al Viro wrote: > > > On Sun, Dec 28, 2014 at 08:45:44AM -0800, Joe Perches wrote: > > On Sun, 2014-12-28 at 15:33 +, Al Viro wrote: > > > On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: > > > > Fix the following coccinelle warning: > > > >

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-31 Thread Fabian Frederick
On 28 December 2014 at 19:21 Al Viro v...@zeniv.linux.org.uk wrote: On Sun, Dec 28, 2014 at 08:45:44AM -0800, Joe Perches wrote: On Sun, 2014-12-28 at 15:33 +, Al Viro wrote: On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: Fix the following coccinelle warning:

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Al Viro
On Sun, Dec 28, 2014 at 08:45:44AM -0800, Joe Perches wrote: > On Sun, 2014-12-28 at 15:33 +, Al Viro wrote: > > On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: > > > Fix the following coccinelle warning: > > > fs/ufs/super.c:1418:7-28: WARNING: casting value returned by

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Joe Perches
On Sun, 2014-12-28 at 16:28 +0100, Fabian Frederick wrote: > Fix the following coccinelle warning: > fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory > allocation function to (struct ufs_inode_info *) is useless. [] > diff --git a/fs/ufs/super.c b/fs/ufs/super.c [] > @@ -1414,8

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Joe Perches
On Sun, 2014-12-28 at 15:33 +, Al Viro wrote: > On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: > > Fix the following coccinelle warning: > > fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory > > allocation function to (struct ufs_inode_info *) is useless. >

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Al Viro
On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: > Fix the following coccinelle warning: > fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory > allocation function to (struct ufs_inode_info *) is useless. ... except that it makes allocations harder to grep for.

[PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Fabian Frederick
Fix the following coccinelle warning: fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless. Cc: Evgeniy Dushistov Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/ufs/super.c | 4 ++-- 1 file changed, 2

[PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Fabian Frederick
Fix the following coccinelle warning: fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless. Cc: Evgeniy Dushistov dushis...@mail.ru Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Al Viro
On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: Fix the following coccinelle warning: fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless. ... except that it makes allocations harder to grep for.

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Joe Perches
On Sun, 2014-12-28 at 15:33 +, Al Viro wrote: On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: Fix the following coccinelle warning: fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless. ...

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Joe Perches
On Sun, 2014-12-28 at 16:28 +0100, Fabian Frederick wrote: Fix the following coccinelle warning: fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless. [] diff --git a/fs/ufs/super.c b/fs/ufs/super.c [] @@ -1414,8

Re: [PATCH 1/1] fs/ufs/super.c: remove unnecessary casting

2014-12-28 Thread Al Viro
On Sun, Dec 28, 2014 at 08:45:44AM -0800, Joe Perches wrote: On Sun, 2014-12-28 at 15:33 +, Al Viro wrote: On Sun, Dec 28, 2014 at 04:28:29PM +0100, Fabian Frederick wrote: Fix the following coccinelle warning: fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory