From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7197C77B7F for ; Fri, 12 May 2023 03:05:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239793AbjELDFh (ORCPT ); Thu, 11 May 2023 23:05:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233528AbjELDFd (ORCPT ); Thu, 11 May 2023 23:05:33 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 255D810F6 for ; Thu, 11 May 2023 20:05:32 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1aaf706768cso72571685ad.0 for ; Thu, 11 May 2023 20:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20221208.gappssmtp.com; s=20221208; t=1683860731; x=1686452731; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3b2RvaJXfQ5zR3nTIkcT15IM6elhbQqCWXKfNrsotZA=; b=4PXfIb6DjCUiVPjkOTt4RSEzOkcKi1Md1cgslqIfx+lXtSHUpPRgi9KSHJ+kaJQ86U 2MIRm6aiKKCxyRV+X/3/0mI3w4I7u3d33syOfNzPkP6znVlE0OlINy/8sDZh5UIl5teB PC75YsK2id++sRei/5DdjJmyxbAjPlr/7cxATRRIVBpVqZZdT8WMAlzVExK1e8l9Do0X 89FjXP03IwrI54U6PU20lvDbOVrqz74pR+axEgb19BUnfM5jsW8wm8pG2zwwkQsZJzIA kqz1XNk/W5A6KyQ85FGd3X3oHpRpcj6VgPs1N4+nki1LWJgofRqz84NYZMv4cIOGCH7j twkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683860731; x=1686452731; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3b2RvaJXfQ5zR3nTIkcT15IM6elhbQqCWXKfNrsotZA=; b=M/lXWYcWYP+Aj9A30zj0Y/j9OTm+ahXm68mmdOvIsofYoZSyogSEmjM/2o25vc0iCt +sHRo9gQjENUq7OW3u6OlNjXfs+6nJEIxf37URdUjpTfR8oTQClco1UNEvAo5BItpNKW j6cPEsiYpuxNey42kbwhZXBq35yHwvYCT9XIBMFxRNOrRueXMnqDnJU6WpgXAULp8LhF /HZC4ixOEZ2uM09d4We2qmqOczzByTy7E1RkYG1e7VemXgV7q9/JpHN1W17rrkhQ9W2b Yj28/MgBOFCvzopmhjGX/0pUJX6i3X/rAc1GWFpMNRP2pjvq56mbnyriqD396KNI9gSW hiEQ== X-Gm-Message-State: AC+VfDx0v29XjIwfgYojnt9ALpjIsJM6EhB3JUPQj7rZBr8HBP6QGLTU FYOuaPQaREGHqpjFKuQm8FipSA== X-Google-Smtp-Source: ACHHUZ4JetzMh5Epbhde5u4VMm1fC53wmGYqo+OiPwR4NlDF/4/zDPSdVcT/mdzohJyTEEp9lU/GQQ== X-Received: by 2002:a17:902:e801:b0:1a9:a3b3:f935 with SMTP id u1-20020a170902e80100b001a9a3b3f935mr31480958plg.57.1683860731430; Thu, 11 May 2023 20:05:31 -0700 (PDT) Received: from [192.168.33.147] (124-110-25-102.east.xps.vectant.ne.jp. [124.110.25.102]) by smtp.gmail.com with ESMTPSA id g7-20020a170902868700b001aad4be4503sm6705940plo.2.2023.05.11.20.05.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 20:05:31 -0700 (PDT) Message-ID: <29024a98-e0c3-449e-e430-3041a160e4e6@landley.net> Date: Thu, 11 May 2023 22:21:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] irqchip/jcore-aic: Fix missing allocation of IRQ descriptors Content-Language: en-US To: John Paul Adrian Glaubitz Cc: Thomas Gleixner , Marc Zyngier , Rich Felker , Jason Cooper , linux-kernel@vger.kernel.org References: <20230510163343.43090-1-glaubitz@physik.fu-berlin.de> From: Rob Landley In-Reply-To: <20230510163343.43090-1-glaubitz@physik.fu-berlin.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/23 11:33, John Paul Adrian Glaubitz wrote: > The initialization function for the J-Core AIC aic_irq_of_init() is > currently missing the call to irq_alloc_descs() which allocates and > initializes all the IRQ descriptors. Add missing function call and > return the error code from irq_alloc_descs() in case the allocation > fails. > > Fixes: 981b58f66cfc ("irqchip/jcore-aic: Add J-Core AIC driver") > Signed-off-by: John Paul Adrian Glaubitz Tested-by: Rob Landley Rob