wlan-ap-Telecominfraproject/feeds/qca-wifi-7/ipq53xx/patches-6.1/0468-drivers-mtd-Resolving-the-Werror-implicit-fallthroug.patch
John Crispin 68cf54d9f7 qca-wifi-7: update to ath12.5.5
Signed-off-by: John Crispin <john@phrozen.org>
2025-02-27 12:45:52 +01:00

29 lines
835 B
Diff

From e2fab22bdde754ec7b27132c0b5d6942f9a33646 Mon Sep 17 00:00:00 2001
From: Ermine Jose <quic_erminejo@quicinc.com>
Date: Wed, 27 Sep 2023 19:07:19 +0530
Subject: [PATCH] drivers: mtd: Resolving the [-Werror=implicit-fallthrough=]
issue in statement
Change-Id: Id3c5fe639e4bcac8da80e836fe73cd1ad41d68a1
Signed-off-by: Ermine Jose <quic_erminejo@quicinc.com>
---
drivers/mtd/ubi/cdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index 7aaa5516e140..630a5c5efbad 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -1055,7 +1055,7 @@ static long ctrl_cdev_ioctl(struct file *file, unsigned int cmd,
/* Detach an MTD device command */
case UBI_IOCFDET:
force = 1;
- /* fallthrough */
+ fallthrough;
case UBI_IOCDET:
{
--
2.34.1