summaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel@numascale-asia.com>2012-10-01 14:42:05 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-28 10:56:11 -0700
commit660dc78ced9178efb5425ab313e6f040c0e5c828 (patch)
tree2c61f31a1cd9e7de3530418aaa3ccfee89eecb38 /drivers/usb/class/cdc-acm.c
parentfe6e782af66c8efaa297229fd92fa209440b4eae (diff)
downloadlinux-stable-660dc78ced9178efb5425ab313e6f040c0e5c828.tar.gz
linux-stable-660dc78ced9178efb5425ab313e6f040c0e5c828.tar.bz2
linux-stable-660dc78ced9178efb5425ab313e6f040c0e5c828.zip
x86, amd, mce: Avoid NULL pointer reference on CPU northbridge lookup
commit 21c5e50e15b1abd797e62f18fd7f90b9cc004cbd upstream. When booting on a federated multi-server system (NumaScale), the processor Northbridge lookup returns NULL; add guards to prevent this causing an oops. On those systems, the northbridge is accessed through MMIO and the "normal" northbridge enumeration in amd_nb.c doesn't work since we're generating the northbridge ID from the initial APIC ID and the last is not unique on those systems. Long story short, we end up without northbridge descriptors. Signed-off-by: Daniel J Blueman <daniel@numascale-asia.com> Link: http://lkml.kernel.org/r/1349073725-14093-1-git-send-email-daniel@numascale-asia.com [ Boris: beef up commit message ] Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions