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

Commit 68fe0c60 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: fix a bug related to a null pointer access"

parents 882cd7dc 1f565d86
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -722,8 +722,8 @@ static const struct file_operations ufsdbg_power_mode_desc = {
void ufsdbg_add_debugfs(struct ufs_hba *hba)
{
	if (!hba) {
		dev_err(hba->dev, "%s: NULL hba, exiting", __func__);
		goto err_no_root;
		pr_err("%s: NULL hba, exiting\n", __func__);
		return;
	}

	hba->debugfs_files.debugfs_root = debugfs_create_dir("ufs", NULL);