Message ID | 1385531272-23445-1-git-send-email-lig.fnst@cn.fujitsu.com |
---|---|
State | New |
Headers | show |
On 27 November 2013 05:47, liguang <lig.fnst@cn.fujitsu.com> wrote: > Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> > --- > hw/intc/sunxi-pic.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) This isn't in mainline, so please don't send patches-to-patches. You should just fold this sort of fix into your next version of the patchset (and mention the list of changes in the coverletter). thanks -- PMM
diff --git a/hw/intc/sunxi-pic.c b/hw/intc/sunxi-pic.c index 5fd86f9..ea75f84 100644 --- a/hw/intc/sunxi-pic.c +++ b/hw/intc/sunxi-pic.c @@ -77,7 +77,7 @@ static void sunxi_pic_set_irq(void *opaque, int irq, int level) SunxiPICState *s = opaque; if (level) { - set_bit(irq, (void *)&s->irq_pending[irq/32]); + set_bit(irq%32, (void *)&s->irq_pending[irq/32]); } sunxi_pic_update(s); }
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> --- hw/intc/sunxi-pic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)