Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3207967rwd; Mon, 22 May 2023 10:05:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ45sCkwPFtlgENfYKaSnTYdq9xcgBANAJjfnefL9sLwUHNL3HcIAATckXgJqbqaTZ3ZkI8n X-Received: by 2002:a17:902:d484:b0:1ab:1355:1a45 with SMTP id c4-20020a170902d48400b001ab13551a45mr14618250plg.30.1684775102852; Mon, 22 May 2023 10:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684775102; cv=none; d=google.com; s=arc-20160816; b=WiEm4XliJ2DlF4/jodDphvNzMjuBh1r+kdJyhoXFUVTHiI4wOfXXiiY9SmXQ09dn7r AWGHK1YonPsMzczqheKtbEGqNFfwNvs4BUJfJVSU0XvZ+y5z2U88HTFXS+PyDamao/jB nKmB/d/eKdlD06jcgHpL9y1pgEozhO2hH/9BKziowOGzdEi5ZdrEz5xh0RoKzNFXSnr9 N2oQxFTpny1FvH0AITDl2/OVS/Cpi848whN/BzJsAAfB1HjCAX4FihfQ4Qe8G++XaxL3 ezimpVqdBnFZBc5/QrnuSDbf0Zj7SZEsSSHFG9QojEPWJQjF+BVBUbAB5/DL7H/n+xzW razQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=9+Lj0ZgMDX0IFkp0jW3AYVGOTGGGOKi8djLx1kbVCg0=; b=YVuhDFqGcdalWmBRl7Ewv6FgFfCrrDlkwaxzLrbIHmFB9vnif+wIW+tpPxJcRHUiuF Yb/0FOXfKw31mRdPSnxARnKPXI36cmjyaJYSg0Wyt5JZ328cSCvg1u0HM81AAsYEXkic EIdjaAoK1Qu3sr7uzV4zVnQPjwtquHRGLw+IRzL0gvVP+CV/z5jqs2nIDQR3NcuctiRP MMb2m8kp1Nv2CxS+ag78p7ZFYZTxFBGSlNQaZFbpXDBn0Y9/5HlVxj+QDlpBHZBEn+Bj kuURVZnm/t5y4isij4QhjLZpp8OJa75iDeAk9YF/qvZ/Ud0Q7g7b9qDMtljZ8qdcyBmF NSjg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a1709027e8f00b001adf26a9390si4735686pla.191.2023.05.22.10.04.48; Mon, 22 May 2023 10:05:02 -0700 (PDT) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233235AbjEVQvL convert rfc822-to-8bit (ORCPT + 99 others); Mon, 22 May 2023 12:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231799AbjEVQvJ (ORCPT ); Mon, 22 May 2023 12:51:09 -0400 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ABEDF4; Mon, 22 May 2023 09:51:07 -0700 (PDT) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-513debc49e8so458132a12.0; Mon, 22 May 2023 09:51:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684774265; x=1687366265; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=prsCEJ6oGGjSe0Cvn82lvxEASIZfzQmdFsTTFy0EMdI=; b=MGjQFEtKzDnkiWAP+bIyLxtMAJiNwsvLTd3Vn/RS1FCcsgEKBTleYAl/VeYRhFh3QO unQ57Qj8aZzoO1a0wnriI/F6iXUJ+KyUg5IwS3Z2vBP+8Uu/74KaZKnXXFuPmBLAVTUH wQe2KPGwyjcWH6/pTzIYEe2O/AL4eu7oqPwLMeuW7OD2lzGpEZm4KPDl52S96/XNoRbP Vg/rL+LN7isnY118ZZOO4ktXx3nt2gJsm86m8vkvqUkeQNaqudq+KnENRW8jMWDKQM6Q J64iO7GaVlGNn4G4vdHKb0r+Yag1Bc7CbK/PglALJgY8jSHxF6s+iYJAvDU9rncsPzRS nufA== X-Gm-Message-State: AC+VfDzXr2ueisRB6sS2mPXM7uMSP9Q9JgmYfal5WF+4TrmHa9b98Zmm l1A0d0dPQQ7VcDsGo58kE9jEy/Hz0FJ15Efp/Hz0nDBO X-Received: by 2002:a17:906:72d4:b0:96f:da08:d451 with SMTP id m20-20020a17090672d400b0096fda08d451mr3730896ejl.6.1684774265481; Mon, 22 May 2023 09:51:05 -0700 (PDT) MIME-Version: 1.0 References: <20230520133249.22689-1-kweifat@gmail.com> In-Reply-To: <20230520133249.22689-1-kweifat@gmail.com> From: "Rafael J. Wysocki" Date: Mon, 22 May 2023 18:50:54 +0200 Message-ID: Subject: Re: [PATCH] cpufreq: intel_pstate: Avoid initializing variables prematurely To: Fieah Lim Cc: srinivas.pandruvada@linux.intel.com, lenb@kernel.org, rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 20, 2023 at 3:32 PM Fieah Lim wrote: > > all_cpu_data struct is pretty large, all_cpu_data is not a structure, it is an array of pointers. If you want to clean up the code, please make sure that your cleanups really make sense. Also please don't make unrelated changes in one patch, this doesn't help much. Thanks!