From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Mon, 25 May 2015 21:01:08 +0000 Subject: Re: [PATCH] KVM: PPC: Fix warnings from sparse Message-Id: <55638D94.5070105@suse.de> List-Id: References: <1432279502-17285-1-git-send-email-thuth@redhat.com> In-Reply-To: <1432279502-17285-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Thomas Huth , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman On 22.05.15 09:25, Thomas Huth wrote: > When compiling the KVM code for POWER with "make C=1", sparse > complains about functions missing proper prototypes and a 64-bit > constant missing the ULL prefix. Let's fix this by making the > functions static or by including the proper header with the > prototypes, and by appending a ULL prefix to the constant > PPC_MPPE_ADDRESS_MASK. > > Signed-off-by: Thomas Huth Thanks, applied to kvm-ppc-queue. Alex From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH] KVM: PPC: Fix warnings from sparse Date: Mon, 25 May 2015 23:01:08 +0200 Message-ID: <55638D94.5070105@suse.de> References: <1432279502-17285-1-git-send-email-thuth@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman To: Thomas Huth , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Return-path: In-Reply-To: <1432279502-17285-1-git-send-email-thuth@redhat.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 22.05.15 09:25, Thomas Huth wrote: > When compiling the KVM code for POWER with "make C=1", sparse > complains about functions missing proper prototypes and a 64-bit > constant missing the ULL prefix. Let's fix this by making the > functions static or by including the proper header with the > prototypes, and by appending a ULL prefix to the constant > PPC_MPPE_ADDRESS_MASK. > > Signed-off-by: Thomas Huth Thanks, applied to kvm-ppc-queue. Alex