Re: [PATCH] generic-ipi: add lock context annotations

From: Dan Carpenter
Date: Wed Nov 24 2010 - 00:43:29 EST


On Wed, Nov 24, 2010 at 02:24:40PM +0900, Namhyung Kim wrote:
> 2010-11-23 (í), 12:40 +0300, Dan Carpenter:
> > On Tue, Nov 23, 2010 at 09:49:56AM +0100, Jens Axboe wrote:
>
> I tried to annotate declations in include/linux/smp.h but it didn't work
> well. Maybe that's what we need to fix the sparse?
>

It worked for me earlier when I tested it. Just add the exact same
annotations that you added to the .c file.

regards,
dan carpenter

--
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/