On 07/06/2016 05:02 AM, [email protected] wrote:
From: Wei Yongjun <[email protected]>

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

Reply via email to