[PATCH] selftests/powerpc/pmu: Fix unsigned function returning negative constant

Michael Ellerman patch-notifications at ellerman.id.au
Sun May 15 20:12:17 AEST 2022


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


More information about the Linuxppc-dev mailing list