diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-01-14 04:10:56 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2015-02-06 08:27:56 +0300 |
commit | 356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd (patch) | |
tree | 8dd6fce04de27006759c61428701c3f1fc392043 /drivers/mailbox/mailbox.c | |
parent | e36f014edff70fc02b3d3d79cead1d58f289332e (diff) | |
download | linux-356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd.tar.xz |
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 'drivers/mailbox/mailbox.c')
0 files changed, 0 insertions, 0 deletions