Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1430956rdb; Wed, 24 Jan 2024 15:35:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdITAGIMhLrztqnNu0N9ibxKIILeA6IU2qTbhcxxQ4QqeEEjeno1uFLkwdrXXbDjOOwK6+ X-Received: by 2002:a05:6808:1983:b0:3bd:58c4:d61e with SMTP id bj3-20020a056808198300b003bd58c4d61emr19699oib.8.1706139321971; Wed, 24 Jan 2024 15:35:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706139321; cv=pass; d=google.com; s=arc-20160816; b=EUWiVRqfAG9c2y8vXf4J2SvWdAq/a7I4YXEGj1GGgBGbAsdeM5kaiQBYpW94xb3cFa VgOm7RHgLV5WB8qDiVam4eWK7YGq7jkE/G0y+f+EMGznBtouDdveDWZk0sRuomFHtK+1 oap0GFQLKgvvzR+1DDgZ+sbc/05XVUfXoeWQEcsohBDeFzROYxjr0vK7K2uDtvV+QVg6 UcvvUCHePhCOrF0NgPIFERzM8TGkaZYA7y0jwjNuz7EE331cT2lV9RyzpZhkkpTOeVdj b6FUWKv/sg2+Oh5bitPAgc+/wRaEX7YN7Bs1TAqq5KKurO/MBj7EE88KIvMgoW/LD2jX unbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AiocZRU0PQo3Ni6J+eCR9ApFRQfM8ohWp82T0Fa/txM=; fh=likCc42lMVVmZwPQsf4mGahM9ktEpY6aj7Sd/fh7B+Q=; b=plcEXjXxx4+bw8tWDE7Z7p7neJuWdBv5pbfIBdsNJ5SDjK/1aSUmHLAFWPBTlb05Wp TWspnZuiD2+35SVSBOX+4yo6C4JOwf7ECblMqdRusIQrWrdJChVeL7FwB2MQ6icBEGm+ k9x/+nv9AZXzN23nfa8q0sctUro4Izmm+WHjG7BoRiELYSR4gTSiYOfZsaeoYz7eyKNK FamXWWYuYV4cVMAJw7FuWJql4Do6yX5fx/2HSexHwibk19ohyYh5YM8Vlf8hw2xyto3+ SfkWOu5O28HG1YqOhVuxso2clu/TCoFe729fQBoQzY4kF66jnFnb3bRF6tbw178/pefF ihbA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=UZLptB3o; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-37800-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s9-20020a056a0008c900b006db7051845esi15004902pfu.42.2024.01.24.15.35.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 15:35:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37800-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=UZLptB3o; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-37800-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 92A0E286C48 for ; Wed, 24 Jan 2024 23:35:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B415E13666C; Wed, 24 Jan 2024 23:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="UZLptB3o" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11BFC86157; Wed, 24 Jan 2024 23:35:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706139314; cv=none; b=Uu8ncRb7nMnYkKjv3sPvCJaTZ6KmYL7IkCME2CpxJlMBkhMMRgRZyrJMbDr9jKA8oJlfQ+SDB0cvhkcAPlJexnfk+wimkQQzT8RJDRaGjWtaihj4MAAOXo1xjzgft+UN4T9KewtR41jt3PYIpJRaHKT3BeeGCHkIB8uZN7aR5ek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706139314; c=relaxed/simple; bh=B9ZuBkYtPDcqQGNhV8S2cg57wPrNScoCs6eFSdQ7a74=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TH4GD159FfpfyOyeS3Q5VXEjpsNF1ZJyOIntRPwubA55bazGjcPcb7Bw+4hVVWzpr512igmPt57hoOsNZi8wxhpAUwCQdpU5++jadg7viCKwH15fyll7PQqM+p0yX1MTbrhct0PgpdvLcCHeBeA6lS9oDO/UyJPr3sN4hjkO5z4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=UZLptB3o; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id ECBAF40E01AE; Wed, 24 Jan 2024 23:35:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3CeVuIp7DbQF; Wed, 24 Jan 2024 23:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1706139305; bh=AiocZRU0PQo3Ni6J+eCR9ApFRQfM8ohWp82T0Fa/txM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UZLptB3oYvNE0fgdlnRs4XFctf8QE3qvTWcCvDlnbOvvXVjYwmAfnESOi/7Rh7c01 F3UGFXYVLF5PidbXtHZShp+uhCy60tmXLOekgtBSFC2gJbsjJ3qOMf8KciGGBrcU51 u6igrxi01uq1zUcr25zTlonhDptCLKKMOH2RaPMIhwShO4KGctD12SHw0DqfEkJ/1j EsgVq+ENYWRHx9LYNPc1Kp1CL0Gnj9c1iFrtojSp7G+HTcECMHYge+0z5R5Fx17a9U 2uu05jyhatfLE36JiCaBAD1iHqNUIlyLQeM4C9UdqoAurYzc2d4ZL2UgLfnhk2Wee9 CbsCxNZyhOcLIXGeRCdmy2VFew2GdJhj8IlW6Em+271OrVileWqHh1pCdKY87u/RMO XdbHyKB6jKd9MEPQMvf/N9oGXEQ5bYvxAeIK8rRaUXBWgsIjQRoiRdaEX8HRgw7z2N p5ljk5/AeU3BAd+TNnhBoR62TYckdp77+dicIvdaCcqHi2kUIglO2EeSAstxjShUFo 9a7rV039ZNDbZ+XPS7z0LrvDo4/xzYryNBWfW+8DGpmJyi7dqDN/96xe8sh6OAKXmI 5DYT3D2sn4aA1TQ5UHHUvkem14J3bKioAN/o7eJI/pFCD4So0mrsYeTXNIIswUrI4H FpKeWHcE4MOUkjkzm9r178Ug= Received: from zn.tnic (pd953033e.dip0.t-ipconnect.de [217.83.3.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7667740E01A9; Wed, 24 Jan 2024 23:34:31 +0000 (UTC) Date: Thu, 25 Jan 2024 00:34:24 +0100 From: Borislav Petkov To: Reinette Chatre Cc: Babu Moger , corbet@lwn.net, fenghua.yu@intel.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, paulmck@kernel.org, rdunlap@infradead.org, tj@kernel.org, peterz@infradead.org, yanjiewtw@gmail.com, kim.phillips@amd.com, lukas.bulwahn@gmail.com, seanjc@google.com, jmattson@google.com, leitao@debian.org, jpoimboe@kernel.org, rick.p.edgecombe@intel.com, kirill.shutemov@linux.intel.com, jithu.joseph@intel.com, kai.huang@intel.com, kan.liang@linux.intel.com, daniel.sneddon@linux.intel.com, pbonzini@redhat.com, sandipan.das@amd.com, ilpo.jarvinen@linux.intel.com, peternewman@google.com, maciej.wieczor-retman@intel.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, eranian@google.com Subject: Re: [PATCH] x86/resctrl: Fix unneeded variable warning reported by kernel test robot Message-ID: <20240124233424.GLZbGegG_5eUaGBOlz@fat_crate.local> References: <84128a3c83654493f637b8349153af10d69e2752.1706118776.git.babu.moger@amd.com> <39c4501e-4937-49de-b12b-742e6201df6f@intel.com> <20240124183153.GFZbFXmTKTLEpwZshW@fat_crate.local> <20240124191429.GGZbFhldYr3K85H9cg@fat_crate.local> <6635c607-cab2-45f4-a0fe-ff4f53b36849@intel.com> <20240124204525.GIZbF25bekUME2flt0@fat_crate.local> <7d6e3d39-ce53-40e4-bba5-242911a1522a@intel.com> <20240124224657.GKZbGTYTjN2m8VirbF@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Wed, Jan 24, 2024 at 03:03:15PM -0800, Reinette Chatre wrote: > Since you are the one that decides the rules for inclusion you can make this > check to be one where checkpatch.pl can be ignored. No objection from me if > you choose to do so (and I will note the precedent for future patches). Nah, that's not nearly as important for you to change your workflow. What I'd suggest, though, is to sanity-check what checkpatch suggests and ask yourself whether it always makes sense. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette