Re: [PATCH] scripts/checkpatch: Fix a typo

2025-03-04 Thread Daniel P . Berrangé
On Mon, Mar 03, 2025 at 06:25:08PM +0100, Philippe Mathieu-Daudé wrote: > When running checkpatch.pl on a commit adding a file without > SPDX tag we get: > > Undefined subroutine &main::WARNING called at ./scripts/checkpatch.pl line > 1694. > > The WARNING level is reported by the WARN() metho

Re: [PATCH] scripts/checkpatch: Fix a typo

2025-03-03 Thread Stefan Hajnoczi
On Mon, Mar 03, 2025 at 06:25:08PM +0100, Philippe Mathieu-Daudé wrote: > When running checkpatch.pl on a commit adding a file without > SPDX tag we get: > > Undefined subroutine &main::WARNING called at ./scripts/checkpatch.pl line > 1694. > > The WARNING level is reported by the WARN() metho

Re: [PATCH] scripts/checkpatch: Fix a typo

2025-03-03 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 3/3/25 18:25, Philippe Mathieu-Daudé wrote: >> When running checkpatch.pl on a commit adding a file without >> SPDX tag we get: >>Undefined subroutine &main::WARNING called at ./scripts/checkpatch.pl >> line 1694. >> The WARNING level is reported by the WA

Re: [PATCH] scripts/checkpatch: Fix a typo

2025-03-03 Thread Philippe Mathieu-Daudé
On 3/3/25 18:25, Philippe Mathieu-Daudé wrote: When running checkpatch.pl on a commit adding a file without SPDX tag we get: Undefined subroutine &main::WARNING called at ./scripts/checkpatch.pl line 1694. The WARNING level is reported by the WARN() method. Fix the typo. Fixes: fa4d79c64da

[PATCH] scripts/checkpatch: Fix a typo

2025-03-03 Thread Philippe Mathieu-Daudé
When running checkpatch.pl on a commit adding a file without SPDX tag we get: Undefined subroutine &main::WARNING called at ./scripts/checkpatch.pl line 1694. The WARNING level is reported by the WARN() method. Fix the typo. Fixes: fa4d79c64da ("scripts: mandate that new files have SPDX-Lice