[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150317214101.GB21729@kroah.com>
Date: Tue, 17 Mar 2015 22:41:01 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Daniel Mack <daniel@...que.org>
Cc: dh.herrmann@...glemail.com, tixxdz@...ndz.org,
dan.carpenter@...cle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kdbus: connection: fix handling of failed fget()
On Tue, Mar 17, 2015 at 07:48:24PM +0100, Daniel Mack wrote:
> The patch 5fc8dd5c84fc: "kdbus: add connection, queue handling and
> message validation code" from Sep 11, 2014, leads to the following
> static checker warning:
>
> ipc/kdbus/connection.c:2000 kdbus_cmd_send()
> warn: 'cancel_fd' isn't an ERR_PTR
>
> Fix this by checking for NULL pointers returned from fget().
>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Daniel Mack <daniel@...que.org>
> ---
> ipc/kdbus/connection.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Applied, thanks.
greg k-h
--
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