Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1353883pxb; Wed, 2 Feb 2022 03:05:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMz0+faorGlnEiOcClyscJz38WfsJ1KSdboylDVDFCwm5mQxRJvuIbJBj85uzBBPQdcJ9t X-Received: by 2002:a63:5b43:: with SMTP id l3mr23941103pgm.375.1643799925180; Wed, 02 Feb 2022 03:05:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643799925; cv=none; d=google.com; s=arc-20160816; b=ckP+19JGGz+aeeQ9Odyh1jYxlB1eZGE8XkwUUnPfsmszpXJqGl+jS8FtK1gsFjKPeZ hTvJb5oUI5tj01IRzxZ4dh7KNDAA0ymFu0U/eZUBcRuuYc3ygDbANsoSYyUZHJJOu96f oL+OeOgopjjWT5RINDXTWxQ75wqJ7zC1oMcyXVT3bum0sPdCcFhktRhF7VbJArDxp/P8 R2W/HLaAy/FOauaF9i06bZcXjj+8is9uWSKknC3Rk7H2AOPfd9/9I5USjm1T4SO55ZqK zYCXPB4dHwkQfbeVo2gvx4p329pffNOT/R2rIu6t+9cu0LvOUbUKa5C4b7v6L7cgLrLv cXhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=WcUv5+SVQLvLUSOxNhfYJ19jR2zPfhtsqNQ5iMSLYo4=; b=yLbBLZeY9IwlhECH5AlPE93Zi++I5oWoLv4TVY0QpCBIfYtOqQUEKhX3A6/V+dWHsO PKbcAzZFqoMFTGkZXymRCsjHq4269j6SlSb2HIA1gg1CnTvDnaTT7N0yUd4OJwe+pUBl nDG9AsbkSNn2cT9u3IV9YUnnaeNinWdHMMW6NHjf2xw0hEpy3DjiCGeorVUNbe34GaVq g1Lc+AZdYVEBvZwCGuagNtZNB5ASKdfSpmghtFoWfe1RCDJpbx1h8V9rtkANt+iMzAkO J+WmEXEYZ9TP8mB0938v+NaiA6YJ63BgWx0qNUhphbcZvQk1y2u6RYY3pmom1OQndeQb HsTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18si4513156pjh.81.2022.02.02.03.05.12; Wed, 02 Feb 2022 03:05:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237839AbiBAMc4 (ORCPT + 99 others); Tue, 1 Feb 2022 07:32:56 -0500 Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:58124 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236699AbiBAMcy (ORCPT ); Tue, 1 Feb 2022 07:32:54 -0500 Received: from [192.168.1.18] ([90.126.236.122]) by smtp.orange.fr with ESMTPA id EsL6nNxOhIz5VEsL6nR6YE; Tue, 01 Feb 2022 13:32:53 +0100 X-ME-Helo: [192.168.1.18] X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Tue, 01 Feb 2022 13:32:53 +0100 X-ME-IP: 90.126.236.122 Message-ID: <7c34009b-0d34-baa8-f4ff-68f2203422c5@wanadoo.fr> Date: Tue, 1 Feb 2022 13:32:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] powerpc/xive: Add some error handling code to 'xive_spapr_init()' Content-Language: en-US To: Christophe Leroy , benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, allison@lohutok.net, tglx@linutronix.de, clg@kaod.org, groug@kaod.org Cc: kernel-janitors@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20190801110956.8517-1-christophe.jaillet@wanadoo.fr> <1ea13a2a-90fd-07d3-2031-19e81ea349b4@csgroup.eu> From: Christophe JAILLET In-Reply-To: <1ea13a2a-90fd-07d3-2031-19e81ea349b4@csgroup.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 01/02/2022 à 12:31, Christophe Leroy a écrit : > Hi, > > Le 01/08/2019 à 13:09, Christophe JAILLET a écrit : >> 'xive_irq_bitmap_add()' can return -ENOMEM. >> In this case, we should free the memory already allocated and return >> 'false' to the caller. >> >> Also add an error path which undoes the 'tima = ioremap(...)' > > This old patch doesn't apply, if it is still relevant can you please > rebase ? > > Thanks > Christophe > Hi, funny to see a 2 1/2 years old patch to pop-up like that :) It still looks relevant to me. V2 sent. Still not compile tested. CJ