Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp3169022pxy; Wed, 4 Aug 2021 04:12:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8zRB3PDz4vk5Rcvvk0t6Q6sdPV56kxh41hkDxnLyvKYVoToEKx15q/fVpE9GvXZytuO/t X-Received: by 2002:a50:be81:: with SMTP id b1mr15078909edk.295.1628075576900; Wed, 04 Aug 2021 04:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628075576; cv=none; d=google.com; s=arc-20160816; b=bwIB/VBwA7vZqhE/OveKBgG87I4UBkQdwb9AOLAiW88k70lQi/F0WUnn7gRulXCvRS d7dkLNbZoRaVemSNOvcUE2hFn9YAzDPLxPl0HBzGgrTcklsOmNQ12qWroooDncxGKo/C NC3QjXZS5wVLsJpWZbYCus0tGkja0t1GRghV1/74ubdHXGr3IoW50GllxSJOg4OLLMtW DvzN+2frZNo5jAs0srgs/6J5ZCJGFYuMStzaZsMUMkdd18cUOkgWZEpOvmVjR4LIZYh1 0tDBMpDo0J3hWLl94+Ny6RDIlMkzrnPBDvcuNd+/c8nAPhv0a9l1GcqoDkAP85ULPAnv H1BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=VyWGsD9U5vI9WMKf3CTKzrXMM5oAiIzvJodqysssRxI=; b=orpoNGwd3pQ+3eakjbloDd9wve77Bo4jyNw4dL6d3ZGeLOhcBTHDeXqfXdaVgW0tgD VmI9PW2eAPvozmIilIvv1b2roOuHsSJekzC/5XXj7YklK3I8WRUt4GeYokIJHrp068ed nSpBoN+E/ypJLBC5id/mEWJxUGLPgE3jVugf640tinoJff80PNFOMzf1Of/2eDxsEk+P KoX75y385ALt+Xmp5u0atwtFcafc3D5xPsVf2LjGYeyF7FsVn3QonkGZ8ecHpa62Uq2D iTWZkN34xNe8x2OEELHC1JwAqW0EM7U7euSFzqqDF9glKb84Ag9HMcut6Oy0eddyobum nN+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nb30si1617383ejc.534.2021.08.04.04.12.33; Wed, 04 Aug 2021 04:12:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237599AbhHDKvV (ORCPT + 99 others); Wed, 4 Aug 2021 06:51:21 -0400 Received: from foss.arm.com ([217.140.110.172]:59130 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236736AbhHDKvT (ORCPT ); Wed, 4 Aug 2021 06:51:19 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1000813A1; Wed, 4 Aug 2021 03:51:07 -0700 (PDT) Received: from [10.57.10.145] (unknown [10.57.10.145]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2E6FF3F719; Wed, 4 Aug 2021 03:51:04 -0700 (PDT) Subject: Re: [PATCH v2] cpufreq: arm_scmi: Fix error path when allocation failed To: Sudeep Holla Cc: linux-kernel@vger.kernel.org, cristian.marussi@arm.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, nicola.mazzucato@arm.com, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org References: <20210803090744.12143-1-lukasz.luba@arm.com> <20210803224145.zyr36sliwa7a67xf@bogus> From: Lukasz Luba Message-ID: <34c0a16b-4f82-8c78-9e29-63d462ea68b8@arm.com> Date: Wed, 4 Aug 2021 11:51:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20210803224145.zyr36sliwa7a67xf@bogus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/3/21 11:41 PM, Sudeep Holla wrote: > On Tue, Aug 03, 2021 at 10:07:44AM +0100, Lukasz Luba wrote: >> Stop the initialization when cpumask allocation failed and return an >> error. >> > > Good catch! > > Reviewed-by: Sudeep Holla > Thank you for the review!