From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGoZQ-0006wu-NV for qemu-devel@nongnu.org; Thu, 20 Oct 2011 05:05:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGoZI-0000ab-7x for qemu-devel@nongnu.org; Thu, 20 Oct 2011 05:05:48 -0400 Received: from mail-pz0-f43.google.com ([209.85.210.43]:59414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGoZI-0000aX-0a for qemu-devel@nongnu.org; Thu, 20 Oct 2011 05:05:40 -0400 Received: by pzk33 with SMTP id 33so6634672pzk.2 for ; Thu, 20 Oct 2011 02:05:39 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4E9FE45D.5020802@redhat.com> Date: Thu, 20 Oct 2011 11:05:33 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1319097820-4788-1-git-send-email-sdb@zubnet.me.uk> <1319097820-4788-5-git-send-email-sdb@zubnet.me.uk> In-Reply-To: <1319097820-4788-5-git-send-email-sdb@zubnet.me.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 5/5] Convert remaining calls to g_malloc(sizeof(type)) to g_new() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stuart Brady Cc: qemu-devel@nongnu.org On 10/20/2011 10:03 AM, Stuart Brady wrote: > Coccinelle did not match these when matching assignments involving an > expression corresponding to the type used for determining the size to > allocate. They all look okay, perhaps the include path you passed to Coccinelle is incomplete? Reviewed-by: Paolo Bonzini but would be nicer if you fixed the problem. Paolo