Re: [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result

From: Scott Wood
Date: Thu Sep 24 2015 - 18:58:39 EST


On Thu, 2015-09-24 at 16:00 +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 <a.hajda@xxxxxxxxxxx>
> ---
> Hi,
>
> To avoid problems with too many mail recipients I have sent whole
> patchset only to LKML. Anyway patches have no dependencies.
>
> Regards
> Andrzej
> ---
> arch/powerpc/kvm/e500.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

Acked-by: Scott Wood <scottwood@xxxxxxxxxxxxx>

-Scott

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/