Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1412442rdb; Wed, 24 Jan 2024 14:50:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd32tb8Q+OtcjAufZ3UReRv5xInDUNhU1+hiAqIuueQXFRkdum+JpRwMW2vvJ6freda/cY X-Received: by 2002:a05:6808:1a16:b0:3bd:b8a5:e955 with SMTP id bk22-20020a0568081a1600b003bdb8a5e955mr2778539oib.71.1706136640446; Wed, 24 Jan 2024 14:50:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706136640; cv=pass; d=google.com; s=arc-20160816; b=qLNicYp+ZqLfvHeruCG0E/umjBOt+j9zoHw0tXXej6mzwzNuGJAVNV9Jo9cy0v8gdo w04lKm5dmZiAfzcs6ZJjBFSyecj8QkDYRC+0ktOjntlGns7WH2JV6/nV9NI5u16sN5l8 FsYjI6H5T5F71nhpjxPS6Z+Xe95YfUCscdhoyr/JNgdAt60xIrQE+yXCf/QVOwzK5t6e NDzNhN/UP4/vLfgrFquVZUtojTx3msOwngdkUU3HFaTBFcNDAGp2MBxIoo2vpqKu2tix y5kNRqh9jbm81NQKVy0J/QfVOg4+oHDImr0m/8E50IImZGBmqyWeZMJiRwHO1zduc31N 3DHw== 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=/tJsEHYFxLjcxm+X6zZpNETmsYnkA5xx8zeO8j+bDdA=; fh=likCc42lMVVmZwPQsf4mGahM9ktEpY6aj7Sd/fh7B+Q=; b=HfC1qvufo4z2H3ygt5H4vydOQsII4m4LsRKHv9fPNugUt6hn1TW+Tbg/1Lc6y8SEav mMv8Z/m99erIaCbfLecBIJlzr8SC7kqi5jE3AAMJ0c3ROEn+T4pWKY5utNjyqJviRByK AvolNAa1jjIgrqnRyNU4ab/W+UrtaEPhYTEQg2+UzbtCnkbB9sTQKKOi2ZwvYUwu/GrZ CqyI5TJJLeKbsUydDjr6RJ7bGEjFFJRVJMFymh9vfvVlGuE8nPOzqAuEP/7+saovvnDP 0GCmhNotjLIZ3DrKMlW30io8bL5w1Ld0YTRx4sHuCRvC1/eXTBXwP8dPZqSLphTZfV6u 1cHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=OUysXtpV; 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-37785-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id op3-20020a05620a534300b007837581deb2si10905643qkn.379.2024.01.24.14.50.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 14:50:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37785-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=OUysXtpV; 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-37785-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37785-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7DF7C1C243E3 for ; Wed, 24 Jan 2024 22:50:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79CD8136673; Wed, 24 Jan 2024 22:47:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="OUysXtpV" 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 EB2D1136648; Wed, 24 Jan 2024 22:47:43 +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=1706136467; cv=none; b=rE/nZ9o11T791sIvF8PnTbG4BS/Mt5YrW2XoSJtISWbM7wKCw/sAmUPhUPvUpPVNVvyZCf251Ul6soZ3cIu5qlEsuxwYJmNZQKu5yA9MbvoWx1GOwfGShtzpMxZXz5nXtnARpgPkA6Ggl4KuPm4T51Z2dvqC/iEC+UGjDdNyDRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706136467; c=relaxed/simple; bh=7NgKqpvf5ts0U/jiEHbjF5qX/ZCVUDB5vcs7oK3wDSU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q78Ru6TM/NkVh0I49ZATA6jqwa8IzE9JWYbSzwAhkYJRI4Dipw9vP2X+lLGeasMPkzyazhOrpk++ESYavvuSYsoBv16yOoX7mB8VQAeAM6iHHxwiWWy6sJnUqT5GTRRUvLMBOuc8LrFX791VG3fBqKrfM+nd4hFGgUWv66k4tFU= 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=OUysXtpV; 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 4F2E740E00C5; Wed, 24 Jan 2024 22:47:40 +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 7iCk-vQQ6vEP; Wed, 24 Jan 2024 22:47:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1706136457; bh=/tJsEHYFxLjcxm+X6zZpNETmsYnkA5xx8zeO8j+bDdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OUysXtpVh8W+H4rkW+UKUsnxLg2F5g7IEhqwlxeeG1R2mdxLHmFArV/6QIHPCU07i eXig1f19BDPX7lRCJs3sqlSP0GuVl7uVbTEHFj99t1edFiIF8jsxqmmyi1bVjaPxtD zBTmOO6dmJo5qWdFCtWSKvwmmg0PPzaKeta/TfIalWf15/H8zSk5bHEKComp4wM/F+ Exti95+WCDiv+vHaryOKHUtGNuWVmBTTUNpM0Vwk8K+22i+bC5lgBz2UrgHHR5hegu spWxzq2oE2dcp3Jy5coDcIozVZv7ZJgmnqU6412bVoT3hQjQb8BJql/55gPjpqPwRx gO87Uw6GNCJfRFgsWdbiKr2jSEy2uTxw0FfZCiNkk0MgiCbugCaj7K0D4jtveUcj2G s2PO4PwrC1BG2vciupncSXO8Fx10wCIEhPruzWSCVAa4dCnc9Sy4d8JXJsSV5PIxcs lH+Rfk+w3DUxFM1lQQLFxu+o6neH2PmXBhSy0JQ45+6IMYCa8iJ4cxgI0tXrtiOD75 9HEEiZ/SeVkbl8BU49qV7pIQv2XBo2Fndn8xkVChMXk+UETkEi5CDeY2mBYbV18r4f DDHbcou2XCNFKa4ZoXxh8mha0XAwBjEN8XxJT9Q1jo0/GfCdAWGsUh+0tGRuJIvhXP xvpfTSzWo7mhhLpRPKgQ8gzg= 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 700A840E01AE; Wed, 24 Jan 2024 22:47:03 +0000 (UTC) Date: Wed, 24 Jan 2024 23:46:57 +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: <20240124224657.GKZbGTYTjN2m8VirbF@fat_crate.local> References: <202401241810.jbd8Ipa1-lkp@intel.com> <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> 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: <7d6e3d39-ce53-40e4-bba5-242911a1522a@intel.com> On Wed, Jan 24, 2024 at 01:31:01PM -0800, Reinette Chatre wrote: > I do not know the motivation for that requirement. From what I can tell the > change [1] that added that check went in as first version without discussion. > [1] starts by saying that the format is "preferred" so I assume there is > some history that I am not familiar with. My main goal with commit messages, code comments and every other *text* you have in the code is to be as succinct and understandable as possible for time considerations, clarity, etc. If I see a 12-char sha1 followed by a title, to me that is a commit. No need to say "commit" too. But as already said, if you prefer to have "commit" there, I'll add it - no biggie. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette