diff options
| author | 2015-01-14 09:10:56 +0800 | |
|---|---|---|
| committer | 2015-02-06 10:57:56 +0530 | |
| commit | 356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd (patch) | |
| tree | 8dd6fce04de27006759c61428701c3f1fc392043 /lib/memory-notifier-error-inject.c | |
| parent | Linux 3.19-rc7 (diff) | |
| download | wireguard-linux-356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd.tar.xz wireguard-linux-356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd.zip | |
Mailbox: Fix return value check in pcc_init()
In case of error, the function platform_create_bundle() returns
ERR_PTR() and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
