summaryrefslogtreecommitdiff
path: root/Documentation/netlink/genetlink-legacy.yaml
diff options
context:
space:
mode:
authorZhu Wang <wangzhu9@huawei.com>2023-08-03 11:29:00 +0300
committerDavid S. Miller <davem@davemloft.net>2023-08-04 13:10:33 +0300
commit86b7e033d684a9d4ca20ad8e6f8b9300cf99668f (patch)
treec870fde83aa110c14c0a201be12a93ff7178a46a /Documentation/netlink/genetlink-legacy.yaml
parent7740bb882fdea16b2f3a4d3804827b910f44206c (diff)
downloadlinux-86b7e033d684a9d4ca20ad8e6f8b9300cf99668f.tar.xz
net: lan966x: Do not check 0 for platform_get_irq_byname()
Since platform_get_irq_byname() never returned zero, so it need not to check whether it returned zero, it returned -EINVAL or -ENXIO when failed, so we replace the return error code with the result it returned. Signed-off-by: Zhu Wang <wangzhu9@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink/genetlink-legacy.yaml')
0 files changed, 0 insertions, 0 deletions