mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
The call to ops->suspend for the dev->dev_next case can currently
trigger a call on a null function pointer if ops->suspend is null.
Skip over the use of function ops->suspend if it is null.
Addresses-Coverity: ("Dereference after null check")
Fixes:
|
||
|---|---|---|
| .. | ||
| em28xx-audio.c | ||
| em28xx-camera.c | ||
| em28xx-cards.c | ||
| em28xx-core.c | ||
| em28xx-dvb.c | ||
| em28xx-i2c.c | ||
| em28xx-input.c | ||
| em28xx-reg.h | ||
| em28xx-v4l.h | ||
| em28xx-vbi.c | ||
| em28xx-video.c | ||
| em28xx.h | ||
| Kconfig | ||
| Makefile | ||