diff options
author | David Daney <[email protected]> | 2017-08-17 17:53:33 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-08-18 11:21:42 +0200 |
commit | 0d12ec075a18f53e6f58ec95a4f534da2641bf9b (patch) | |
tree | b1a2abb17c20a253724ae65a62c1ee7017a4b3b3 /lib/memory-notifier-error-inject.c | |
parent | b526adfe1b0531fceba44b18c156e4edf9c6205c (diff) |
irqdomain: Check for NULL function pointer in irq_domain_free_irqs_hierarchy()
A follow-on patch will call irq_domain_free_irqs_hierarchy() when the
free() function pointer may be NULL.
Add a NULL pointer check to handle this new use case.
Signed-off-by: David Daney <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions