On Fri, 15 Feb 2013 14:46:14 +0900, Alexandre Courbot <acour...@nvidia.com> wrote: > Some functions dereferenced their GPIO descriptor argument without > checking its validity first, potentially leading to an oops when given > an invalid argument. > > This patch also makes gpio_get_value() more resilient when given an > invalid GPIO, returning 0 instead of silently crashing. > > Signed-off-by: Alexandre Courbot <acour...@nvidia.com> > Cc: Ryan Mallon <rmal...@gmail.com>
Applied, thanks. g. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/