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

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

Merge "soc: qcom: qmp-debugfs-client: Remove leading and trailing whitespaces"

parents a6af1eaa bb6bd7c4
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only

/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved. */

#include <linux/module.h>
#include <linux/kernel.h>
@@ -48,6 +48,11 @@ static ssize_t aop_msg_write(struct file *file, const char __user *userstr,
		return len;
	}

	/*
	 * Trim the leading and trailing white spaces
	 */
	strim(data_pkt[count].buf);

	/*
	 * Controller expects a 4 byte aligned buffer
	 */