Skip to content
Commit 068cf29e authored by Dan Carpenter's avatar Dan Carpenter Committed by Jassi Brar
Browse files

mailbox: bcm-pdc: potential NULL dereference in pdc_shutdown()



We can't pass NULL pointers to pdc_ring_free() so I moved the check for
NULL.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent e0c6fba4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment