Re: kfree(NULL)

From: Andrew Morton
Date: Fri Apr 21 2006 - 17:45:33 EST


Andrew Morton <akpm@xxxxxxxx> wrote:
>
> #define __check_likely(expr, value)
> ({
> static struct likeliness likeliness;
> do_check_likely(__FILE__, __LINE__, &likeliness, value);
> })
>

#define __check_likely(expr, value)
({
static struct likeliness likeliness = {
.file = __FILE__,
.line = __LINE__,
};
do_check_likely(&likeliness, value);
})

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