Thanks,
Reviewed-by: Sagi Grimberg
Thanks,
Reviewed-by: Sagi Grimberg
On 07/06/2016 05:02 AM, weiyj...@163.com wrote:
From: Wei Yongjun
In case of error, the function kstrndup() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Added for 4.8, thanks.
--
Jens Axboe
On 07/06/2016 05:02 AM, weiyj...@163.com wrote:
From: Wei Yongjun
In case of error, the function kstrndup() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Added for 4.8, thanks.
--
Jens Axboe
On Wed, 2016-07-06 at 12:02 +, weiyj...@163.com wrote:
> From: Wei Yongjun
>
> In case of error, the function kstrndup() returns NULL pointer
> not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by:
On Wed, 2016-07-06 at 12:02 +, weiyj...@163.com wrote:
> From: Wei Yongjun
>
> In case of error, the function kstrndup() returns NULL pointer
> not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by: Wei Yongjun
Looks good and
From: Wei Yongjun
In case of error, the function kstrndup() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun
---
From: Wei Yongjun
In case of error, the function kstrndup() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun
---
drivers/nvme/target/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
8 matches
Mail list logo