Skip to content
Commit 186c91aa authored by James Clark's avatar James Clark Committed by Will Deacon
Browse files

arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs



-EPERM or -EINVAL always get converted to -EOPNOTSUPP, so replace them.
This will allow __hw_perf_event_init() to return a different code or not
print that particular message for a different error in the next commit.

Signed-off-by: default avatarJames Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20231211161331.1277825-10-james.clark@arm.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent c7b98bf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment