diff options
| author | Saravana Kannan <[email protected]> | 2021-02-10 20:00:49 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-02-11 07:33:41 +0000 |
| commit | 8c0381f55bbf70a3b8ab24e4f5ac62125c44c804 (patch) | |
| tree | 0bfbe567440973f321d9c57fec820647e32664fb /scripts/mod/file2alias.c | |
| parent | of: irq: make a stub for of_irq_parse_one() (diff) | |
| download | kernel-8c0381f55bbf70a3b8ab24e4f5ac62125c44c804.tar.gz kernel-8c0381f55bbf70a3b8ab24e4f5ac62125c44c804.zip | |
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 <[email protected]>
Signed-off-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
