summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-23 14:32:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-23 14:32:19 +0300
commit18d49ec3c62f46d7225f822e112742fbe0daf94b (patch)
treef2f55388d9300d8510d8fafb7a75b9d68a92b53c /arch
parenta83f87c1d2a93a8fd2413ce8f410b69848db0fd5 (diff)
parentd59f532480f5231bf62615a9287e05b78225fb05 (diff)
downloadlinux-18d49ec3c62f46d7225f822e112742fbe0daf94b.tar.xz
Merge tag 'for-linus-4.19d-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Juergen writes: "xen: Two small fixes for xen drivers." * tag 'for-linus-4.19d-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: xen: issue warning message when out of grant maptrack entries xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/pmu.c b/arch/x86/xen/pmu.c
index 7d00d4ad44d4..95997e6c0696 100644
--- a/arch/x86/xen/pmu.c
+++ b/arch/x86/xen/pmu.c
@@ -478,7 +478,7 @@ static void xen_convert_regs(const struct xen_pmu_regs *xen_regs,
irqreturn_t xen_pmu_irq_handler(int irq, void *dev_id)
{
int err, ret = IRQ_NONE;
- struct pt_regs regs;
+ struct pt_regs regs = {0};
const struct xen_pmu_data *xenpmu_data = get_xenpmu_data();
uint8_t xenpmu_flags = get_xenpmu_flags();