From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XICes-0004lC-9u for qemu-devel@nongnu.org; Fri, 15 Aug 2014 04:14:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XICeg-0007Wv-Nk for qemu-devel@nongnu.org; Fri, 15 Aug 2014 04:14:46 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:50432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XICeg-0007Wg-KG for qemu-devel@nongnu.org; Fri, 15 Aug 2014 04:14:34 -0400 Received: by mail-yk0-f171.google.com with SMTP id 19so1858070ykq.16 for ; Fri, 15 Aug 2014 01:14:34 -0700 (PDT) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Fri, 15 Aug 2014 01:14:02 -0700 Message-Id: Subject: [Qemu-devel] [PATCH trivial v1 0/3] Initialise IRQ pointers as Zero List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, agraf@suse.de Hi, I'm working on some QOM stuff that requires output IRQ pointers to be initialised to zero. I have a catch-all workaround to the problem in the series proper, but this is the startings of a more complete solution. Sending to trivial, as I think the change is an improvement independently, just due to the fact its easier to debug with NULL pointers rather than undefined pointer values. Regards, Peter Peter Crosthwaite (3): ssi: xilinx_spi: Initialise CS GPIOs as NULL ppc: convert g_new(qemu_irq usages to g_new0 intc: i8259: Convert Array allocation to g_new0 hw/intc/i8259.c | 2 +- hw/intc/openpic.c | 2 +- hw/ppc/e500.c | 2 +- hw/ppc/mac_newworld.c | 2 +- hw/ssi/xilinx_spi.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) -- 2.0.1.1.gfbfc394