summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/intel_th/pci.c
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2020-03-17 08:22:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-18 11:32:56 +0100
commitce666be89a8a09c5924ff08fc32e119f974bdab6 (patch)
treee9cda9c43c20ff2caee49a4bfc87d0b9be72b7b6 /drivers/hwtracing/intel_th/pci.c
parent885f123554bbdc1807ca25a374be6e9b3bddf4de (diff)
intel_th: Fix user-visible error codes
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@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Fixes: ba82664c134ef ("intel_th: Add Memory Storage Unit driver") Cc: stable@vger.kernel.org # v4.4+ Link: https://lore.kernel.org/r/20200317062215.15598-6-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/intel_th/pci.c')
0 files changed, 0 insertions, 0 deletions