Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751636AbdHRJQP (ORCPT ); Fri, 18 Aug 2017 05:16:15 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:60112 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbdHRJQO (ORCPT ); Fri, 18 Aug 2017 05:16:14 -0400 Subject: Re: [PATCH v8 4/7] irqdomain: Check for NULL function pointer in irq_domain_free_irqs_hierarchy() To: David Daney , Linus Walleij , Alexandre Courbot , Mark Rutland , Thomas Gleixner , linux-gpio@vger.kernel.org Cc: linux-kernel@vger.kernel.org References: <1503017616-3252-1-git-send-email-david.daney@cavium.com> <1503017616-3252-5-git-send-email-david.daney@cavium.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Fri, 18 Aug 2017 10:16:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1503017616-3252-5-git-send-email-david.daney@cavium.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 366 Lines: 13 On 18/08/17 01:53, David Daney wrote: > 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 Reviewed-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...