diff options
| author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2020-03-17 08:22:14 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-02 19:02:30 +0200 |
| commit | 369dacc368d733bbbe718f1d9b91bae0516f9bc0 (patch) | |
| tree | 09f0b13ea5d786768c0e94fd9bd02b81e4f6dd99 /mm/memcontrol.c | |
| parent | 9ddb6c7ba85b21a6b9961cf22d87b30d4bce0f14 (diff) | |
intel_th: Fix user-visible error codes
commit ce666be89a8a09c5924ff08fc32e119f974bdab6 upstream.
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 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions
