Re: [PATCH] x86/resctrl: Fix unneeded variable warning reported by kernel test robot

From: Reinette Chatre
Date: Wed Jan 24 2024 - 16:31:23 EST


Hi Boris,

On 1/24/2024 12:45 PM, Borislav Petkov wrote:
> Hi,
>
> On Wed, Jan 24, 2024 at 12:04:31PM -0800, Reinette Chatre wrote:
>>> 54e35eb8611c ("x86/resctrl: Read supported bandwidth sources from CPUID").
>>
>> I think a "commit" prefix is required here and below.
>
> Yeah, but if you see a 12-char sha1 followed by a title in (" "), that
> is a commit and nothing else, right?
>
> If I say "commit" too it is kinda redundant.

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.

Reinette

[1] https://lore.kernel.org/all/976c6cdd680db4b55ae31b5fc2d1779da5c0dc66.camel@xxxxxxxxxxx/