[lkml]   [2015]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe()
On Thu, Apr 16, 2015 at 08:17:46PM +0800, wrote:
> From: Wei Yongjun <>
> In case of error, the function devm_kzalloc() returns NULL
> not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.

Applied, thanks.
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2015-04-17 16:01    [W:0.047 / U:6.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site