Re: [PATCH v2] input: tegra-kbc - Add tegra keyboard driver

From: Dmitry Torokhov
Date: Fri Jan 07 2011 - 01:06:32 EST


On Thu, Jan 06, 2011 at 06:49:45PM -0800, Rakesh Iyer wrote:
>
> Is having this check really an issue? Can't input_free_device change
> in the future so that NULL as a parameter does cause undesirable
> side-effects?

No, it won't because changing it to crash on NULL pointers would be
really stupid.

Thanks.

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