Messages in this thread |  | | | From | Konrad Rzeszutek Wilk <> | | Subject | [PATCH] Xen bug-fixes for 3.2 (v1) | | Date | Thu, 29 Sep 2011 15:52:42 -0400 |
| |
Most of them were discovered by running Dan's static analyzer (git://repo.or.cz/smatch.git). Some of them look/sound familiar which probably means at some point somebody emailed me it and I forgot it - if that is the case, please point me to it so I can use that instead of these.
Please review.
Konrad Rzeszutek Wilk (9): xen/pciback: Do not dereference psdev during printk when it is NULL. xen/pciback: Return proper error code from sscanf. xen/pciback: Check if the device is found instead of blindly assuming so. xen/events: BUG() when we can't allocate our event->irq array. xen/events: Don't check the info for NULL as it is already done. xen/irq: If we fail during msi_capability_init return proper error code. xen/xenbus: Check before dereferencing it. xen/enlighten: Fix compile warnings. xen/p2m/debugfs: Fix potential pointer exception.
arch/x86/pci/xen.c | 10 +++++++--- arch/x86/xen/enlighten.c | 2 +- arch/x86/xen/p2m.c | 4 ++-- drivers/xen/events.c | 11 +++++++---- drivers/xen/xen-pciback/pci_stub.c | 12 ++++++++---- drivers/xen/xenbus/xenbus_probe_backend.c | 3 ++- 6 files changed, 27 insertions(+), 15 deletions(-)
|  |