Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2797197pxy; Tue, 3 Aug 2021 15:47:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2ml0SHtHYSB+XhJScfPtmlyCKqAg1HnNB/YiqyUwRYmeem2tEn6KdYB1AVH0bms490fzz X-Received: by 2002:aa7:cdcf:: with SMTP id h15mr28594534edw.45.1628030879637; Tue, 03 Aug 2021 15:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628030879; cv=none; d=google.com; s=arc-20160816; b=vYIH71T7a+nMF5mN2i5XOTIWqGiEV3B3mlySjA/pEKNJ+46g4dy6cRBlXemNttStZT 66GoJ9JO9mzWyL2YHqbuwW88tmjg2MNTMMew9x4/I5Apll2RqS2ONKtm3lQTkUqCFf/z lvvJBdosg+HaIqSzLhGg54BtrGLeCYwkvwM8h35DrwMcn1uHm8am42K1atfX2iKT9WND DHQFfcJvp4aU/liyjdCFtK6RnacvMR3uedu/bPUmWYBr+hhDCYktta9fy+8ujAq9B3A3 oWNFkgEaoBWK0aGXKUn/Zd6QPAEHiskn/z9s5gPgM/ik2qxrX8AH3AeGLUX4/TiZ1RDK vQag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7l2X3MsUZib/05PgEF9ISms7uwiq2f3LJSbHSjwkFSo=; b=E9YR08K6bOpcRWm3FI+T61A5pD6872o3zGFYLRf+2b2F5+3xpDkU1cSkT4o7yyNkY4 x63ojQQCAcy/LfmzFdnb+CXc2KvE8pMD7HGXDS/emkbMz/2oPKyJqh9FDpJZtl/OP9Os +Ev7/GOybPbxWlPLwQB/D5RCwtLaXPZzx32ysSKkg63JGBfWRYNLTmEraKH6UGItcv86 ZNnoUCOb8nkjF09cFkxlno7wnAroLy0HDEXkqA3iTjJZB1zImQexPW2TpkVn1KnkgSll i0drCg2ASd8LMTgDiB/f/FL/Csa2ao9TGmaqlFuBcZpzbQKv4qxbN6e20Wy3ntTMhI05 byXQ== 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 r13si185009edo.209.2021.08.03.15.47.36; Tue, 03 Aug 2021 15:47:59 -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 S230124AbhHCWnC (ORCPT + 99 others); Tue, 3 Aug 2021 18:43:02 -0400 Received: from foss.arm.com ([217.140.110.172]:54866 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbhHCWnB (ORCPT ); Tue, 3 Aug 2021 18:43:01 -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 0552911FB; Tue, 3 Aug 2021 15:42:50 -0700 (PDT) Received: from bogus (unknown [10.57.37.191]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 25AE53F66F; Tue, 3 Aug 2021 15:42:47 -0700 (PDT) Date: Tue, 3 Aug 2021 23:41:45 +0100 From: Sudeep Holla To: Lukasz Luba 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 Subject: Re: [PATCH v2] cpufreq: arm_scmi: Fix error path when allocation failed Message-ID: <20210803224145.zyr36sliwa7a67xf@bogus> References: <20210803090744.12143-1-lukasz.luba@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210803090744.12143-1-lukasz.luba@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- Regards, Sudeep