Re: [PATCH] cxl: remove redundant increment of hwirq
From: Michael Ellerman
Date: Sun Feb 01 2015 - 20:01:43 EST
On Sun, 2015-02-01 at 21:40 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Recent commit 80fa93fce37d3490f
> ("cxl: Name interrupts in /proc/interrupt") introduced a
> redundant increment of hwirq which is not used or even
> initialised at the point it is incremented. Detected by
> cppcheck:
>
> [drivers/misc/cxl/irq.c:439]: (error) Uninitialized
> variable: hwirq
>
> Simple fix, remove the redundant increment.
This looks more or less the same as the previous patch you sent? The one which
has been in my next branch for 11 days?
cheers
--
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/