summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2015-04-16 20:17:46 +0800
committerMark Brown <broonie@kernel.org>2015-04-17 14:21:04 +0100
commit427ced4b203dfea4f08b1298cd1f88e19039fca4 (patch)
tree26d256aca95ffc489b1246e2104366d8cff255a3 /net/xfrm
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadop-kernel-dev-427ced4b203dfea4f08b1298cd1f88e19039fca4.zip
op-kernel-dev-427ced4b203dfea4f08b1298cd1f88e19039fca4.tar.gz
ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe()
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. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Peter Rosin <peda@axentia.se> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud