[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161205.132802.1758015753602111376.davem@davemloft.net>
Date: Mon, 05 Dec 2016 13:28:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bianpan2016@....com
Cc: 3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] atm: lanai: set error code when ioremap fails
From: Pan Bian <bianpan2016@....com>
Date: Sat, 3 Dec 2016 20:25:45 +0800
> In function lanai_dev_open(), when the call to ioremap() fails, the
> value of return variable result is 0. 0 means no error in this context.
> This patch fixes the bug, assigning "-ENOMEM" to result when ioremap()
> returns a NULL pointer.
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188791
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists