lkml.org 
[lkml]   [2015]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] pinctrl: don't try to print function groups if we can't get them
From
On Mon, Jun 8, 2015 at 5:16 PM, Ludovic Desroches
<ludovic.desroches@atmel.com> wrote:

> There is no reason to try to print groups associated to a function if
> get_function_groups returns an error. Moreover, it can lead to a NULL
> pointer dereference error.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>

Patch applied.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2015-06-10 11:01    [W:0.039 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site