Re: [GIT PULL 5/6] intel_th: Fix user-visible error codes

From: Greg Kroah-Hartman
Date: Wed Mar 18 2020 - 06:31:22 EST


On Tue, Mar 17, 2020 at 08:22:14AM +0200, Alexander Shishkin wrote:
> There are a few places in the driver that end up returning ENOTSUPP to
> the user, replace those with EINVAL.
>
> Signed-off-by: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Fixes: ba82664c134ef ("intel_th: Add Memory Storage Unit driver")
> Cc: stable@xxxxxxxxxxxxxxx # v4.4+
> ---
> drivers/hwtracing/intel_th/msu.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Same here, for 5.6