diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-14 05:50:44 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-18 03:46:42 -0400 |
commit | 75cb96d3eb6d1eb16e48931e987c1a7770b4758e (patch) | |
tree | 2971dbb39f300321885d89bdc4322af1a6724b38 /drivers/net/wireless/ath/ath10k/debug.c | |
parent | 8cc7f26c782e4f5c6c844eb32400bd6848b902db (diff) |
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: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index ff914b4ac0e6..3756feba3223 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c | |||
@@ -589,15 +589,11 @@ static ssize_t ath10k_read_simulate_fw_crash(struct file *file, | |||
589 | char __user *user_buf, | 589 | char __user *user_buf, |
590 | size_t count, loff_t *ppos) | 590 | size_t count, loff_t *ppos) |
591 | { | 591 | { |
592 | const char buf[] = "To simulate firmware crash write one of the" | 592 | const char buf[] = |
593 | " keywords to this file:\n `soft` - this will send" | 593 | "To simulate firmware crash write one of the keywords to this file:\n" |
594 | " WMI_FORCE_FW_HANG_ASSERT to firmware if FW" | 594 | "`soft` - this will send WMI_FORCE_FW_HANG_ASSERT to firmware if FW supports that command.\n" |
595 | " supports that command.\n `hard` - this will send" | 595 | "`hard` - this will send to firmware command with illegal parameters causing firmware crash.\n" |
596 | " to firmware command with illegal parameters" | 596 | "`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n"; |
597 | " causing firmware crash.\n" | ||
598 | "`assert` - this will send special illegal parameter" | ||
599 | " to firmware to cause assert failure" | ||
600 | " and crash.\n"; | ||
601 | 597 | ||
602 | return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); | 598 | return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); |
603 | } | 599 | } |