aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2020-09-13 09:34:15 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-09-13 09:34:15 -0700
commit8d30fb5bfce24f65f9ecd5ae8078c06fd9787199 (patch)
treeb53bae4f61a9ad184dc073d5134dc9183f82b152
parent882bb14e67bb185dc70c95cecd2580502b4413f0 (diff)
parent968f75a71fb3ace9e5e89fdc950389044a259c72 (diff)
Merge "diag: Continue through the loop if condition fails for a proc"LA.UM.9.12.r1-08000-SMxx50.0
-rw-r--r--drivers/char/diag/diagchar_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/diag/diagchar_core.c b/drivers/char/diag/diagchar_core.c
index d234c4238cbf..87ac06fb4669 100644
--- a/drivers/char/diag/diagchar_core.c
+++ b/drivers/char/diag/diagchar_core.c
@@ -1815,7 +1815,7 @@ static int diag_switch_logging_proc(struct diag_logging_mode_param_t *param,
DIAG_LOG(DIAG_DEBUG_USERSPACE,
"not switching modes c: %d n: %d\n",
curr_mode, new_mode);
- return 0;
+ continue;
}
diag_ws_reset(DIAG_WS_MUX);