From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 9CD4A1A045E for ; Thu, 15 Oct 2015 16:31:48 +1100 (AEDT) Date: Thu, 15 Oct 2015 16:30:39 +1100 From: Paul Mackerras To: Andrzej Hajda Cc: linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , Marek Szyprowski , Alexander Graf , Gleb Natapov , Paolo Bonzini , Benjamin Herrenschmidt , Michael Ellerman , kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result Message-ID: <20151015053039.GD2960@iris.ozlabs.ibm.com> References: <1443103227-25612-1-git-send-email-a.hajda@samsung.com> <1443103227-25612-16-git-send-email-a.hajda@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1443103227-25612-16-git-send-email-a.hajda@samsung.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Sep 24, 2015 at 04:00:23PM +0200, Andrzej Hajda wrote: > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 > > Signed-off-by: Andrzej Hajda Thanks, applied to my kvm-ppc-next branch. Paul.