summaryrefslogtreecommitdiff
path: root/drivers/base/init.c
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2021-02-10 23:00:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-11 10:33:41 +0300
commit8c0381f55bbf70a3b8ab24e4f5ac62125c44c804 (patch)
tree0bfbe567440973f321d9c57fec820647e32664fb /drivers/base/init.c
parent1852ebd1354201cf4ab9564947ff2a17a918b294 (diff)
downloadlinux-8c0381f55bbf70a3b8ab24e4f5ac62125c44c804.tar.xz
of: irq: Fix the return value for of_irq_parse_one() stub
When commit 1852ebd13542 ("of: irq: make a stub for of_irq_parse_one()") added a stub for of_irq_parse_one() it set the return value to 0. Return value of 0 in this instance means the call succeeded and the out_irq pointer was filled with valid data. So, fix it to return an error value. Fixes: 1852ebd13542 ("of: irq: make a stub for of_irq_parse_one()") Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20210210200050.4106032-1-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/init.c')
0 files changed, 0 insertions, 0 deletions