board/Kconfig: Add a paragraph that describes the simbol
PATCH 1/1 board/Kconfig: Add a paragraph that describes the simbol
Commit:
The staging board allows continous upstream
in-tree development and integration of
new platform devices.
--- drivers/staging/board/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
drivers/staging/board/Kconfig +4 -0
@@ -1,3 +1,7 @@ +# +#Staging board gives support and configures the kernel build +#with new type of devices, making them compatible. +# config STAGING_BOARD bool "Staging Board Support" depends on OF_ADDRESS && OF_IRQ && CLKDEV_LOOKUP
Signature · 1 line
2.7.4
Greg Kroah-Hartman
maintainerQuoted 2 lines · Keila Novo
Commit:
What is that line for?
Quoted 3 lines
The staging board allows continous upstream
in-tree development and integration of
new platform devices.
You have trailing whitespace, and you wrapped your paragraph at an odd line length, why?
Quoted 11 lines
Signed-off-by Keila Novo <[email protected]>--- drivers/staging/board/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)drivers/staging/board/Kconfig +0
-0
drivers/staging/board/Kconfig line 4
Quoted 4 lines
drivers/staging/board/Kconfig +4
-0@@ -1,3 +1,7 @@ +# +#Staging board gives support and configures the kernel build +#with new type of devices, making them compatible. +#
I don't understand that sentence at all, could you rephrase it somehow?
And why not an extra ' ' after the comment character?
And finally, why make this change at all? Kconfig files usually do not have comments in them, right?
thanks,
greg k-h
A message that is not in the archive (sent off-list or not yet received): CACrt6ML2ggFy-mC5TLYmQQur30iKN91eNSRq6eiN6+un+AYR9Q@mail.gmail.com
---------- Mensaje reenviado ----------
De: "keila novo" <[email protected]>
Fecha: 4 oct. 2016 7:41
Asunto: Re: [PATCH]board/Kconfig: Add a paragraph that describes the simbol
Para: "Greg Kroah-Hartman" <[email protected]>
Cc:
I made that change because when a checked with chechpatch.pl, it took a warning that said: "please write a paragraph that describes the config symbol fully". So I tried to fix it adding a little paragraph on the top of the file.
I will try to add the changes that you suggest , I will do my best.
Thanks,
Keila
2016-10-04 6:23 GMT+02:00 Greg Kroah-Hartman <[email protected]>:
Quoted 41 lines · Keila Novo
Quoted 2 lines
Commit:
What is that line for?
Quoted 3 lines
The staging board allows continous upstream
in-tree development and integration of
new platform devices.You have trailing whitespace, and you wrapped your paragraph at an odd line length, why?
Review
Quoted 7 lines
Signed-off-by Keila Novo <[email protected]>--- drivers/staging/board/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) +0
-0b/drivers/staging/board/Kconfig
drivers/staging/board/Kconfig line 4
Quoted 8 lines
index 3f287c4..830337d 100644
drivers/staging/board/Kconfig +4
-0@@ -1,3 +1,7 @@ +# +#Staging board gives support and configures the kernel build +#with new type of devices, making them compatible. +#I don't understand that sentence at all, could you rephrase it somehow?
And why not an extra ' ' after the comment character?
And finally, why make this change at all?
Kconfigfiles usually do not have comments in them, right?thanks,
greg k-h
Greg Kroah-Hartman
maintainerQ: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
Quoted 10 lines · keila novo
---------- Mensaje reenviado ----------
De: "keila novo" <[email protected]>
Fecha: 4 oct. 2016 7:41
Asunto: Re: [PATCH]board/Kconfig: Add a paragraph that describes the simbol
Para: "Greg Kroah-Hartman" <[email protected]>
Cc:I made that change because when a checked with chechpatch.pl, it took a warning that said: "please write a paragraph that describes the config symbol fully". So I tried to fix it adding a little paragraph on the top of the file.
The "paragraph" should be in the help section for that Kconfig option, not as a comment in the file. If you run checkpatch.pl on the file after you made this change, I think you will still have the same warning, right?
But, to write a help entry for a Kconfig option, requires that you understand what the driver and option does. Based on your paragraph, I don't know if you do know what this code is here for. So perhaps you might want to move on to a different type of warning fix?
In other words, don't make a change just because a warning shows up, but because you understand what the warning means, and what the change you are making does.
Hope this helps,
greg k-h
Quoted 6 lines · Greg Kroah-Hartman
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Quoted 11 lines
A: No.
Q: Should I include quotations after my reply?http://daringfireball.net/2007/07/on_top
Quoted 4 lines · keila novo
---------- Mensaje reenviado ----------
De: "keila novo" <[email protected]>
Fecha: 4 oct. 2016 7:41
Asunto: Re: [PATCH]board/Kconfig: Add a paragraph that describes the
simbol
Quoted 4 lines
Quoted 4 lines
Para: "Greg Kroah-Hartman" <[email protected]> Cc:
I made that change because when a checked with chechpatch.pl, it took a
warning
Quoted 1 line
Quoted 1 line
that said: "please write a paragraph that describes the config symbol
fully".
Quoted 12 lines
Quoted 1 line
So I tried to fix it adding a little paragraph on the top of the file.
The "paragraph" should be in the help section for that
Kconfigoption, not as a comment in the file. If you run checkpatch.pl on the file after you made this change, I think you will still have the same warning, right?But, to write a help entry for a
Kconfigoption, requires that you understand what the driver and option does. Based on your paragraph, I don't know if you do know what this code is here for. So perhaps you might want to move on to a different type of warning fix?
Quoted 7 lines
In other words, don't make a change just because a warning shows up, but because you understand what the warning means, and what the change you are making does.
Hope this helps,
greg k-h
Thank you for your help. I will read more documentation to understand what the code works for and I will try to complete it well. Also, I will start again looking for another warning to fix it.
Thanks
Keila