Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1715987
| From | Marcel Holtmann <marcel@holtmann.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ieee802154: ca8210: Fix a potential NULL pointer dereference |
| Date | 2017-08-20 21:00 +0200 |
| Message-ID | <ugDC2-2cd-13@gated-at.bofh.it> (permalink) |
| References | <ugBgS-Qz-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Christophe, > '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> > --- > drivers/net/ieee802154/ca8210.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ieee802154: ca8210: Fix a potential NULL pointer dereference Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-08-20 18:30 +0200 Re: [PATCH] ieee802154: ca8210: Fix a potential NULL pointer dereference Marcel Holtmann <marcel@holtmann.org> - 2017-08-20 21:00 +0200
csiph-web