diff options
author | Kevin Hao <[email protected]> | 2020-01-16 17:50:03 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-01-16 11:27:12 +0100 |
commit | 9c6722d85e92233082da2b3623685bba54d6093e (patch) | |
tree | 6080fb230b4ca675f0a6ad13ba2c91db56c78602 /scripts/gcc-plugins/structleak_plugin.c | |
parent | 7a9f4460f74d705014aaab1900be688d20c75909 (diff) |
gpio: Fix the no return statement warning
In commit 242587616710 ("gpiolib: Add support for the irqdomain which
doesn't use irq_fwspec as arg") we have changed the return type of
gpiochip_populate_parent_fwspec_twocell/fourcell() from void to void *,
but forgot to add a return statement for these two dummy functions.
Add "return NULL" to fix the build warnings.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Kevin Hao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions