Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1536369

Re: [PATCH 1/1] atm: fix improper return value

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] atm: fix improper return value
Date 2016-12-05 21:00 +0100
Message-ID <sL7AC-kR-35@gated-at.bofh.it> (permalink)
References <sKxQt-38Y-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Pan Bian <bianpan201603@163.com>
Date: Sun,  4 Dec 2016 13:45:15 +0800

> From: Pan Bian <bianpan2016@163.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@163.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] atm: fix improper return value Pan Bian <bianpan201603@163.com> - 2016-12-04 06:50 +0100
  Re: [PATCH 1/1] atm: fix improper return value David Miller <davem@davemloft.net> - 2016-12-05 21:00 +0100

csiph-web