mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 09:21:35 +00:00
29 lines
835 B
Diff
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
|
|
|