mirror of
https://github.com/torvalds/linux.git
synced 2025-11-05 19:19:43 +02:00
If mce_device_init() fails then the mce device pointer is NULL and the AMD mce code happily dereferences it. Add a sanity check. Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| mce-apei.c | ||
| mce-genpool.c | ||
| mce-inject.c | ||
| mce-internal.h | ||
| mce-severity.c | ||
| mce.c | ||
| mce_amd.c | ||
| mce_intel.c | ||
| p5.c | ||
| therm_throt.c | ||
| threshold.c | ||
| winchip.c | ||