* [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result [not found] <1443103227-25612-1-git-send-email-a.hajda@samsung.com> @ 2015-09-24 14:00 ` Andrzej Hajda 2015-09-24 22:58 ` Scott Wood 2015-10-15 5:30 ` Paul Mackerras 0 siblings, 2 replies; 3+ messages in thread From: Andrzej Hajda @ 2015-09-24 14:00 UTC (permalink / raw) To: linux-kernel Cc: Andrzej Hajda, Bartlomiej Zolnierkiewicz, Marek Szyprowski, Alexander Graf, Gleb Natapov, Paolo Bonzini, Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman, kvm-ppc, kvm, linuxppc-dev 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@samsung.com> --- 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(-) diff --git a/arch/powerpc/kvm/e500.c b/arch/powerpc/kvm/e500.c index b29ce75..32fdab5 100644 --- a/arch/powerpc/kvm/e500.c +++ b/arch/powerpc/kvm/e500.c @@ -237,7 +237,8 @@ void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500, struct kvm_book3e_206_tlb_entry *gtlbe) { struct vcpu_id_table *idt = vcpu_e500->idt; - unsigned int pr, tid, ts, pid; + unsigned int pr, tid, ts; + int pid; u32 val, eaddr; unsigned long flags; -- 1.9.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result 2015-09-24 14:00 ` [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result Andrzej Hajda @ 2015-09-24 22:58 ` Scott Wood 2015-10-15 5:30 ` Paul Mackerras 1 sibling, 0 replies; 3+ messages in thread From: Scott Wood @ 2015-09-24 22:58 UTC (permalink / raw) To: Andrzej Hajda Cc: linux-kernel, Bartlomiej Zolnierkiewicz, Marek Szyprowski, Alexander Graf, Gleb Natapov, Paolo Bonzini, Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman, kvm-ppc, kvm, linuxppc-dev 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@samsung.com> > --- > 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@freescale.com> -Scott ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result 2015-09-24 14:00 ` [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result Andrzej Hajda 2015-09-24 22:58 ` Scott Wood @ 2015-10-15 5:30 ` Paul Mackerras 1 sibling, 0 replies; 3+ messages in thread From: Paul Mackerras @ 2015-10-15 5:30 UTC (permalink / raw) To: Andrzej Hajda Cc: linux-kernel, Bartlomiej Zolnierkiewicz, Marek Szyprowski, Alexander Graf, Gleb Natapov, Paolo Bonzini, Benjamin Herrenschmidt, Michael Ellerman, kvm-ppc, kvm, linuxppc-dev 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 <a.hajda@samsung.com> Thanks, applied to my kvm-ppc-next branch. Paul. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-15 5:31 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1443103227-25612-1-git-send-email-a.hajda@samsung.com> 2015-09-24 14:00 ` [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result Andrzej Hajda 2015-09-24 22:58 ` Scott Wood 2015-10-15 5:30 ` Paul Mackerras
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).