Re: [PATCH] selftests/powerpc/pmu: Fix unsigned function returning negative constant
From: Michael Ellerman <hidden>
Date: 2022-05-15 10:14:48
Also in:
linux-kselftest, lkml
From: Michael Ellerman <hidden>
Date: 2022-05-15 10:14:48
Also in:
linux-kselftest, lkml
On Sun, 24 Apr 2022 16:26:41 +0800, Haowen Bai wrote:
The function __perf_reg_mask has an unsigned return type, but returns a negative constant to indicate an error condition. So we change unsigned to int.
Applied to powerpc/next.
[1/1] selftests/powerpc/pmu: Fix unsigned function returning negative constant
https://git.kernel.org/powerpc/c/a84ca704d8306a949578d36c028c8e1bab3dcf0b
cheers