usb: gadget: f_fs_ipc_log: Fix extra string argument
Compilier is throwing an error when attempting to print a string that spans across several code lines. Generally, this type of multiline print style is discouraged as well from checkpatch, and is treated as a warning. Fix this by removing the need to have a string across several lines. Change-Id: Iad9ac4ec6161374b8a910a76d671db71806b5f14 Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
This commit is contained in:
parent
c64a6b9ccf
commit
838be32845
@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
@ -665,10 +665,8 @@ static int entry_ffs_func_bind(struct kretprobe_instance *ri,
|
||||
|
||||
context = get_ipc_context(ffs);
|
||||
data->x0 = ffs;
|
||||
kprobe_log(context, "enter");
|
||||
kprobe_log(context, "_ffs_func_bind",
|
||||
"enter: state %d setup_state %d flag %lu", ffs->state,
|
||||
ffs->setup_state, ffs->flags);
|
||||
kprobe_log(context, "enter: state %d setup_state %d flag %lu",
|
||||
ffs->state, ffs->setup_state, ffs->flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user