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

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

Merge "ufs: Fix usage of WARN_ON()"

parents 2ad24ad8 14af107c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2019, 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
@@ -236,7 +236,7 @@ ufsdbg_intr_fail_request(struct ufs_hba *hba, u32 *intr_status)
			inject_cmd_hang_tm(hba);
		break;
	default:
		WARN_ON();
		WARN_ON(1);
		/* some configurations ignore panics caused by BUG() */
		break;
	}