Re: [PATCH] module: clean up initialization of variable

From: Harvey Harrison
Date: Mon Jan 05 2009 - 18:00:03 EST


On Mon, 2009-01-05 at 15:30 -0500, Steven Rostedt wrote:
> + hdr = vmalloc(len);
> + if (hdr == NULL)

A bit pedantic but,

if (!hdr) perhaps?

Cheers,

Harvey

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