* [PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines
@ 2015-06-25 22:36 Daniel Grimshaw
2015-06-26 7:37 ` Dan Carpenter
2015-06-26 11:29 ` Luis de Bethencourt
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Grimshaw @ 2015-06-25 22:36 UTC (permalink / raw)
To: gregkh; +Cc: benchan, rafael.j.wysocki, tj, devel, linux-kernel, trivial
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
I am a high school student trying to become familiar with linux kernel
development. This is my first patch.
checkpatch.pl throws a warning that config WIMAX_GDM72XX_QOS, config
WIMAX_GDM72XX_K_MODE, and config WIMAX_GDM72XX_USB do not have enough
of a description. By splitting the current description into multiple
lines, the warning is removed.
The module still worked with these changes when tested.
Signed-off-by: Daniel Grimshaw <grimshaw@linux.vnet.ibm.com>
[-- Attachment #2: patchfile --]
[-- Type: text/plain, Size: 1047 bytes --]
diff --git a/drivers/staging/gdm72xx/Kconfig b/drivers/staging/gdm72xx/Kconfig
index bf11a7f..bfbe3d6 100644
--- a/drivers/staging/gdm72xx/Kconfig
+++ b/drivers/staging/gdm72xx/Kconfig
@@ -14,14 +14,19 @@ config WIMAX_GDM72XX_QOS
bool "Enable QoS support"
default n
help
- Enable Quality of Service support based on the data protocol of
+ Enable Quality of
+ Service support based
+ on the data protocol of
transmitting packets.
config WIMAX_GDM72XX_K_MODE
bool "Enable K mode"
default n
help
- Enable support for proprietary functions for KT (Korea Telecom).
+ Enable support
+ for proprietary
+ functions for KT
+ (Korea Telecom).
config WIMAX_GDM72XX_WIMAX2
bool "Enable WiMAX2 support"
@@ -37,7 +42,9 @@ config WIMAX_GDM72XX_USB
bool "USB interface"
depends on (USB = y || USB = WIMAX_GDM72XX)
help
- Select this option if the WiMAX module interfaces with the host
+ Select this option
+ if the WiMAX module
+ interfaces with the host
processor via USB.
config WIMAX_GDM72XX_SDIO
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines
2015-06-25 22:36 [PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines Daniel Grimshaw
@ 2015-06-26 7:37 ` Dan Carpenter
2015-06-26 11:29 ` Luis de Bethencourt
1 sibling, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2015-06-26 7:37 UTC (permalink / raw)
To: Daniel Grimshaw
Cc: gregkh, devel, trivial, rafael.j.wysocki, linux-kernel, tj
Heh. No. That's not useful. :P
Checkpatch.pl warnings are only good if they make the code better for
humans. Otherwise ignore them.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines
2015-06-25 22:36 [PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines Daniel Grimshaw
2015-06-26 7:37 ` Dan Carpenter
@ 2015-06-26 11:29 ` Luis de Bethencourt
1 sibling, 0 replies; 3+ messages in thread
From: Luis de Bethencourt @ 2015-06-26 11:29 UTC (permalink / raw)
To: Daniel Grimshaw
Cc: Dan Carpenter, gregkh, benchan, rafael.j.wysocki, tj, devel,
linux-kernel, trivial
On Thu, Jun 25, 2015 at 03:36:46PM -0700, Daniel Grimshaw wrote:
> I am a high school student trying to become familiar with linux kernel
> development. This is my first patch.
>
> checkpatch.pl throws a warning that config WIMAX_GDM72XX_QOS, config
> WIMAX_GDM72XX_K_MODE, and config WIMAX_GDM72XX_USB do not have enough
> of a description. By splitting the current description into multiple
> lines, the warning is removed.
>
> The module still worked with these changes when tested.
>
> Signed-off-by: Daniel Grimshaw <grimshaw@linux.vnet.ibm.com>
>
Hello Daniel,
Nice to see people submitting their first patch. Welcome :)
Besides what Dan Carpenter said, I wanted to add a comment about how to send
patches. Normally maintainers don't accept patches as attachments. You want to
send the patch inline.
I recommend these two resources to learn how:
http://kernelnewbies.org/FirstKernelPatch
Greg's talk "Write and Submit your first Linux kernel Patch"
- https://www.youtube.com/watch?v=LLBrBBImJt4
There is a bit of a learning curve. It is normal to not get it right the first
time. Feel free to email me directly with any further questions about this.
Happy hacking,
Luis
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-26 11:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-25 22:36 [PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines Daniel Grimshaw
2015-06-26 7:37 ` Dan Carpenter
2015-06-26 11:29 ` Luis de Bethencourt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).