checkpatch: long help string

Kalle Valo kvalo at qca.qualcomm.com
Mon Sep 29 23:10:53 PDT 2014


Hi Joe,

another checkpatch question. I have this warning in ath10k:

drivers/net/wireless/ath/ath10k/debug.c:656: WARNING: line over 83 characters

And it comes from this help string:

	const char buf[] =
		"To simulate firmware crash write one of the keywords to this file:\n"
		"`soft` - this will send WMI_FORCE_FW_HANG_ASSERT to firmware if FW supports that command.\n"
		"`hard` - this will send to firmware command with illegal parameters causing firmware crash.\n"
		"`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n";

https://github.com/kvalo/ath/blob/ath-next/drivers/net/wireless/ath/ath10k/debug.c#L652

Any recommendations how to handle that?

-- 
Kalle Valo



More information about the ath10k mailing list