Re: [PATCH] Mark res_counter_charge(_locked) with __must_check

From: KAMEZAWA Hiroyuki
Date: Thu May 08 2008 - 20:12:27 EST


On Thu, 08 May 2008 13:40:53 +0400
Pavel Emelyanov <xemul@xxxxxxxxxx> wrote:

> > BTW, res_counter_charge_locked() should be extern function ?
>
> What do you mean? It is extern as well as the res_counter_charge
> and uncharge ones are, but functions may have forward declarations
> w/o extern keyword AFAIK ;)
>
Ah,
Is res_counter_charge_locked() is called from files other than res_counter.c ?
Does we need declaration in header file ?

Thanks,
-Kame

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