mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "iommu: iommu-debug: Fix return code for iommu_debug_dma_unmap_write"
This commit is contained in:
commit
a84f2264eb
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
|
@ -2023,7 +2023,7 @@ out:
|
|||
|
||||
invalid_format:
|
||||
pr_err_ratelimited("Invalid format. Expected: iova,len, dma attr\n");
|
||||
return retval;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static const struct file_operations iommu_debug_dma_unmap_fops = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue