Re: [PATCH 13/29] IB/mlx4: Split a condition check in five functions

2017-02-19 Thread Majd Dibbiny
> On Feb 18, 2017, at 11:08 PM, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Sat, 18 Feb 2017 14:43:34 +0100 > > The kfree() function was called in up to two cases during error handling > even if the passed variable contained a null pointer. > > * Split a condition check for m

[PATCH 13/29] IB/mlx4: Split a condition check in five functions

2017-02-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 18 Feb 2017 14:43:34 +0100 The kfree() function was called in up to two cases during error handling even if the passed variable contained a null pointer. * Split a condition check for memory allocation failures. * Adjust jump targets according to the Linux coding