Re: [PATCH V1 Resend 04/11] drivers: md: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Mike Snitzer
On Mon, Aug 10 2015 at 9:42pm -0400, Viresh Kumar wrote: > On 10-08-15, 16:05, Mike Snitzer wrote: > > On Mon, Aug 10 2015 at 2:12am -0400, > > Viresh Kumar wrote: > > > > > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > > > is no need to do that again from its calle

Re: [PATCH V1 Resend 04/11] drivers: md: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Viresh Kumar
On 10-08-15, 16:05, Mike Snitzer wrote: > On Mon, Aug 10 2015 at 2:12am -0400, > Viresh Kumar wrote: > > > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > > is no need to do that again from its callers. Drop it. > > > > Signed-off-by: Viresh Kumar > > I picked this up

Re: [PATCH V1 Resend 04/11] drivers: md: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Mike Snitzer
On Mon, Aug 10 2015 at 2:12am -0400, Viresh Kumar wrote: > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > is no need to do that again from its callers. Drop it. > > Signed-off-by: Viresh Kumar I picked this up for 4.3, staged in linux-dm.git's 'for-next', see: https:

[PATCH V1 Resend 04/11] drivers: md: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-09 Thread Viresh Kumar
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. Signed-off-by: Viresh Kumar --- drivers/md/dm-snap-persistent.c | 2 +- drivers/md/dm-verity.c| 2 +- drivers/md/persistent-data/dm-