Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a84f2264 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: iommu-debug: Fix return code for iommu_debug_dma_unmap_write"

parents 8553d929 d51f9057
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// 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 @@ static ssize_t iommu_debug_dma_unmap_write(struct file *file,

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 = {