From mboxrd@z Thu Jan 1 00:00:00 1970 From: "rkrcmar@redhat.com" Subject: Re: arch/x86/kvm/ioapic.c:595: strange size in memset ? Date: Mon, 2 May 2016 19:36:58 +0200 Message-ID: <20160502173657.GC24741@potion> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "pbonzini@redhat.com" , "kvm@vger.kernel.org" To: David Binderman Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52438 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754474AbcEBRhC (ORCPT ); Mon, 2 May 2016 13:37:02 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 2016-05-02 14:28+0000, David Binderman: > Hello there, >=20 > arch/x86/kvm/ioapic.c:595:2: warning: =E2=80=98memset=E2=80=99 used w= ith length equal to number of elements without multiplication by elemen= t size [-Wmemset-elt-size] I just posted a patch whose commit message assumes this warning came from GCC. Thanks for reporting.