checkpatch: fix acpi check with multiple file name
commite625ba2a413f2bfdbb71c71008b627fede20fcbb
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 11:22:49 +0000 (4 07:22 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 14:25:02 +0000 (4 10:25 -0400)
treeb602567e88f5ec10325fa54abf72781dcad26d58
parent0ac2e63575b5af918e333cc687bbd8e1ab7bb6fe
checkpatch: fix acpi check with multiple file name

Using global expected/nonexpected values causes
false positives when testing multiple patches in one
checkpatch run: one patch can change expected,
another one non-expected.

Use local variables within process() to fix that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
scripts/checkpatch.pl