-----Original Message-----
From: Joe Perches <joe@xxxxxxxxxxx>
Sent: Wednesday, June 14, 2023 9:47 PM
To: Ruhl, Michael J <michael.j.ruhl@xxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx;
apw@xxxxxxxxxxxxx; dwaipayanray1@xxxxxxxxx; lukas.bulwahn@xxxxxxxxx;
corbet@xxxxxxx; david@xxxxxxxxxx
Subject: Re: [PATCH] checkpatch: Include GEM_BUG_xxx variant in the
excluded check list
On Wed, 2023-06-14 at 12:49 -0400, Michael J. Ruhl wrote:
GEM_BUG_ON is usually compiled as WARN. You have to change toother BUG variants")
debug configuration to get this to be BUG.
checkpatch flags this a WARN level issue.
Since this is a i915 local debug macro, allow its use in checkpatch.pl.
Fixes: 69d517e6e210 ("checkpatch: warn on usage of VM_BUG_ON() and
Not a "Fixes", just an additional check