lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 30 Oct 2017 09:17:54 +0100 From: Tobias Klauser <tklauser@...tanz.ch> To: Pan Bian <bianpan2016@....com> Cc: Yisen Zhuang <yisen.zhuang@...wei.com>, Salil Mehta <salil.mehta@...wei.com>, "David S. Miller" <davem@...emloft.net>, lipeng <lipeng321@...wei.com>, Kejian Yan <yankejian@...wei.com>, Lin Yun Sheng <linyunsheng@...wei.com>, Arnd Bergmann <arnd@...db.de>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: net: hns: set correct return value On 2017-10-29 at 15:35:32 +0100, Pan Bian <bianpan2016@....com> wrote: > The function of_parse_phandle() returns a NULL pointer if it cannot > resolve a phandle property to a device_node pointer. In function > hns_nic_dev_probe(), its return value is passed to PTR_ERR to extract > the error code. However, in this case, the extracted error code will > always be zero, which is unexpected. > > Signed-off-by: Pan Bian <bianpan2016@....com> The subject is missing a [PATCH] prefix which causes the patch e.g. to not show up on patchwork [1]. Care to resend with the proper subject? [1] https://patchwork.ozlabs.org/project/netdev/list/ Care to resend with the proper subject? For the patch itself: Reviewed-by: Tobias Klauser <tklauser@...tanz.ch>
Powered by blists - more mailing lists