diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-08-20 18:25:02 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-08-20 20:51:30 +0200 |
commit | f00c2987bfdde69c6eb27b5547d222beb5bc7552 (patch) | |
tree | 1dceefa1a9a222b0277d53e1f9d8701393071d30 /lib/percpu-refcount.c | |
parent | 9374bf18dbb533912898b07b3751fbce40fae5c4 (diff) |
ieee802154: ca8210: Fix a potential NULL pointer dereference
'spi' is known to be NULL, so we dereference a NULL pointer here.
Use 'pr_crit()' instead of 'dev_crit()' to report the message.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions