Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650175

Re: [PATCH] Staging: bcm2835-audio: bcm2835-ctl.c: Fixed a comment coding style issue.

From srishti sharma <srishtishar@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Staging: bcm2835-audio: bcm2835-ctl.c: Fixed a comment coding style issue.
Date 2017-05-25 07:30 +0200
Message-ID <tKTvr-3ZE-5@gated-at.bofh.it> (permalink)
References <tKFCa-3vO-9@gated-at.bofh.it> <tKNT3-hh-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 25, 2017 at 4:58 AM, Tobin C. Harding <me@tobin.cc> wrote:
> On Wed, May 24, 2017 at 08:03:14PM +0530, srishti sharma wrote:
>
> This driver is not in Greg KH's staging tree. You may like to work off
> of that tree when doing staging patches.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/
>
> To aid you future patches here are a couple of minor comments for you.
>
>> fixed a trailing */ issue
>
> You may like to be more explicit here using the format described in
> Documentation/process/submitting-patches.rst (Section 2 Describe your
> changes). This goes for your subject line as well.
>
>> Signed-off-by: srishti sharma <srishtishar@gmail.com>
>> ---
>>  drivers/staging/bcm2835-audio/bcm2835-ctl.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/staging/bcm2835-audio/bcm2835-ctl.c b/drivers/staging/bcm2835-audio/bcm2835-ctl.c
>> index a4ffa1b..38fabab 100644
>> --- a/drivers/staging/bcm2835-audio/bcm2835-ctl.c
>> +++ b/drivers/staging/bcm2835-audio/bcm2835-ctl.c
>> @@ -247,8 +247,8 @@ static int snd_bcm2835_spdif_mask_get(struct snd_kcontrol *kcontrol,
>>       struct snd_ctl_elem_value *ucontrol)
>>  {
>>       /* bcm2835 supports only consumer mode and sets all other format flags
>> -      * automatically. So the only thing left is signalling non-audio
>> -      * content */
>> +      * automatically. So the only thing left is signalling non-audio content
>> +      */
>
> And for completeness this is the block comment style in networking
> code, the rest of the kernel uses the format
>
> /*
>  * block comment blah blah
>  * on multiple lines
>  */
>
> Good luck,
> Tobin.




Okay, Thanks a lot .

Regards ,
Srishti

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Staging: bcm2835-audio: bcm2835-ctl.c: Fixed a comment coding style issue. srishti sharma <srishtishar@gmail.com> - 2017-05-24 16:40 +0200
  Re: [PATCH] Staging: bcm2835-audio: bcm2835-ctl.c: Fixed a comment  coding style issue. "Tobin C. Harding" <me@tobin.cc> - 2017-05-25 01:30 +0200
    Re: [PATCH] Staging: bcm2835-audio: bcm2835-ctl.c: Fixed a comment  coding style issue. srishti sharma <srishtishar@gmail.com> - 2017-05-25 07:30 +0200
    Re: [PATCH] Staging: bcm2835-audio: bcm2835-ctl.c: Fixed a comment  coding style issue. Stefan Wahren <stefan.wahren@i2se.com> - 2017-05-25 09:10 +0200

csiph-web