summaryrefslogtreecommitdiff
path: root/drivers/mailbox/mailbox.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2015-01-14 01:10:56 (GMT)
committerJassi Brar <jaswinder.singh@linaro.org>2015-02-06 05:27:56 (GMT)
commit356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd (patch)
tree8dd6fce04de27006759c61428701c3f1fc392043 /drivers/mailbox/mailbox.c
parente36f014edff70fc02b3d3d79cead1d58f289332e (diff)
downloadlinux-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