diff options
| author | David Daney <[email protected]> | 2017-08-18 00:53:33 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-08-18 09:21:42 +0000 |
| commit | 0d12ec075a18f53e6f58ec95a4f534da2641bf9b (patch) | |
| tree | b1a2abb17c20a253724ae65a62c1ee7017a4b3b3 /net/switchdev/switchdev.c | |
| parent | irqdomain: Factor out code to add and remove items to and from the revmap (diff) | |
| download | kernel-0d12ec075a18f53e6f58ec95a4f534da2641bf9b.tar.gz kernel-0d12ec075a18f53e6f58ec95a4f534da2641bf9b.zip | |
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
