[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wg6MBLPzRrRYGQ6EeoUGV+-MdMraFiUiiQyenVk=t6=Bw@mail.gmail.com>
Date: Mon, 12 Oct 2020 14:46:10 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Mike Travis <mike.travis@....com>
Cc: Borislav Petkov <bp@...e.de>, x86-ml <x86@...nel.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] x86/platform updates for v5.10
On Mon, Oct 12, 2020 at 2:42 PM Mike Travis <mike.travis@....com> wrote:
>
> It should have been an unsigned long instead of an int as Linus
> suggested. I'm not sure it's a write only variable as I think the mask
> is used to check if the interrupt occurred (I'll have to look closer).
At least "git grep" only shows two assignments to it.
Of course, that would miss any cases that play games with preprocessor
token pasting etc, so it's not entirely meaningful, but it's certainly
a hint..
And yes, I expect that the fix is to just make it "unsigned long", but
if it truly isn't actually used, maybe removal is better.
Linus
Powered by blists - more mailing lists