diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-09-24 20:29:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-27 19:18:19 +0200 |
commit | 7f8436a1269eaaf2d0b1054a325eddf4e14cb80d (patch) | |
tree | bc39da0b5949f1eebe0241007db5fd70243490f4 /arch/blackfin/kernel | |
parent | Merge branch 'master' of git://1984.lsi.us.es/nf (diff) | |
download | linux-7f8436a1269eaaf2d0b1054a325eddf4e14cb80d.tar.xz linux-7f8436a1269eaaf2d0b1054a325eddf4e14cb80d.zip |
l2tp: fix return value check
In case of error, the function genlmsg_put() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/blackfin/kernel')
0 files changed, 0 insertions, 0 deletions