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

Commit 19339816 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs-debugfs: Fix hba access"

parents dfba1a7a eff0784a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2016, 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
@@ -1438,8 +1438,8 @@ void ufsdbg_add_debugfs(struct ufs_hba *hba)
	char root_name[sizeof("ufshcd00")];

	if (!hba) {
		dev_err(hba->dev, "%s: NULL hba, exiting", __func__);
		goto err_no_root;
		pr_err("%s: NULL hba, exiting", __func__);
		return;
	}

	snprintf(root_name, ARRAY_SIZE(root_name), "%s%d", UFSHCD,