Commit 75cb96d3 authored by Kalle Valo's avatar Kalle Valo

ath10k: reformat help text in ath10k_read_simulate_fw_crash()

Makes it more readable and fixes checkpatch warnings:

drivers/net/wireless/ath/ath10k/debug.c:593: WARNING: quoted string split across lines
drivers/net/wireless/ath/ath10k/debug.c:594: WARNING: quoted string split across lines
drivers/net/wireless/ath/ath10k/debug.c:595: WARNING: quoted string split across lines
drivers/net/wireless/ath/ath10k/debug.c:596: WARNING: quoted string split across lines
drivers/net/wireless/ath/ath10k/debug.c:597: WARNING: quoted string split across lines
drivers/net/wireless/ath/ath10k/debug.c:599: WARNING: quoted string split across lines
drivers/net/wireless/ath/ath10k/debug.c:600: WARNING: quoted string split across lines
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 8cc7f26c
...@@ -589,15 +589,11 @@ static ssize_t ath10k_read_simulate_fw_crash(struct file *file, ...@@ -589,15 +589,11 @@ static ssize_t ath10k_read_simulate_fw_crash(struct file *file,
char __user *user_buf, char __user *user_buf,
size_t count, loff_t *ppos) size_t count, loff_t *ppos)
{ {
const char buf[] = "To simulate firmware crash write one of the" const char buf[] =
" keywords to this file:\n `soft` - this will send" "To simulate firmware crash write one of the keywords to this file:\n"
" WMI_FORCE_FW_HANG_ASSERT to firmware if FW" "`soft` - this will send WMI_FORCE_FW_HANG_ASSERT to firmware if FW supports that command.\n"
" supports that command.\n `hard` - this will send" "`hard` - this will send to firmware command with illegal parameters causing firmware crash.\n"
" to firmware command with illegal parameters" "`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n";
" causing firmware crash.\n"
"`assert` - this will send special illegal parameter"
" to firmware to cause assert failure"
" and crash.\n";
return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment