Re: Missing put_cpu() in arch/ia64/sn/kernel/sn2/sn_hwperf.c?

From: Mike Frysinger
Date: Sat Aug 20 2011 - 00:04:31 EST


On Mon, Aug 8, 2011 at 14:05, Thomas Meyer wrote:
> ÂCheck for get/put_cpu() imbalances
>
> ÂThe simplified semantic patch that makes this report is:
>
> * get_cpu()
> ... when != put_cpu()
> ? get_cpu()
>
> arch/blackfin/kernel/cplbinfo.c:89:9-10: WARNING: Possible missing put_cpu()!

the get_cpu() is in the seq_operations.start while the put_cpu() is in
the seq_operations.stop. i believe this is OK and so this is a false
positive for blackfin.
-mike
--
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/