usb: cdc-acm: return correct error code on unsupported break
[platform/kernel/linux-starfive.git] / kernel / panic.c
index 07239d4..ffa037f 100644 (file)
@@ -697,6 +697,7 @@ void warn_slowpath_fmt(const char *file, int line, unsigned taint,
        if (!fmt) {
                __warn(file, line, __builtin_return_address(0), taint,
                       NULL, NULL);
+               warn_rcu_exit(rcu);
                return;
        }