[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130226174839.714853E0AEF@localhost>
Date: Tue, 26 Feb 2013 17:48:39 +0000
From: Grant Likely <grant.likely@...retlab.ca>
To: Alexandre Courbot <acourbot@...dia.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Ryan Mallon <rmallon@...il.com>, linux-kernel@...r.kernel.org,
gnurou@...il.com, Alexandre Courbot <acourbot@...dia.com>
Subject: Re: [PATCH 1/4] gpiolib: check descriptors validity before use
On Fri, 15 Feb 2013 14:46:14 +0900, Alexandre Courbot <acourbot@...dia.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 <acourbot@...dia.com>
> Cc: Ryan Mallon <rmallon@...il.com>
Applied, thanks.
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists