[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161205.145357.1361147684146759738.davem@davemloft.net>
Date: Mon, 05 Dec 2016 14:53:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bianpan201603@....com
Cc: 3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
bianpan2016@....com
Subject: Re: [PATCH 1/1] atm: fix improper return value
From: Pan Bian <bianpan201603@....com>
Date: Sun, 4 Dec 2016 13:45:15 +0800
> From: Pan Bian <bianpan2016@....com>
>
> It returns variable "error" when ioremap_nocache() returns a NULL
> pointer. The value of "error" is 0 then, which will mislead the callers
> to believe that there is no error. This patch fixes the bug, returning
> "-ENOMEM".
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=189021
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists