commit | 356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Jan 14 09:10:56 2015 +0800 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Fri Feb 06 10:57:56 2015 +0530 |
tree | 8dd6fce04de27006759c61428701c3f1fc392043 | |
parent | e36f014edff70fc02b3d3d79cead1d58f289332e [diff] |
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>