Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1536307
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] atm: lanai: set error code when ioremap fails |
| Date | 2016-12-05 19:30 +0100 |
| Message-ID | <sL6bv-84q-29@gated-at.bofh.it> (permalink) |
| References | <sKhVo-1bT-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Pan Bian <bianpan2016@163.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@163.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/1] atm: lanai: set error code when ioremap fails Pan Bian <bianpan2016@163.com> - 2016-12-03 13:50 +0100 Re: [PATCH 1/1] atm: lanai: set error code when ioremap fails David Miller <davem@davemloft.net> - 2016-12-05 19:30 +0100
csiph-web