All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] Add comment for struct mutex definition.
@ 2017-02-28 18:21 Tamara Diaconita
  2017-02-28 18:27 ` [Outreachy kernel] " Julia Lawall
  2017-02-28 18:32 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Tamara Diaconita @ 2017-02-28 18:21 UTC (permalink / raw)
  To: mchehab, outreachy-kernel, gregkh; +Cc: Tamara Diaconita

Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>
---
 drivers/staging/media/cxd2099/cxd2099.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
index c72c3f0..f88690b 100644
--- a/drivers/staging/media/cxd2099/cxd2099.c
+++ b/drivers/staging/media/cxd2099/cxd2099.c
@@ -54,7 +54,7 @@ struct cxd {
 	int    amem_read;
 
 	int    cammode;
-	struct mutex lock;
+	struct mutex lock;/*lock for digital devices*/
 };
 
 static int i2c_write_reg(struct i2c_adapter *adapter, u8 adr,
-- 
2.9.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Outreachy kernel] [PATCH 1/5] Add comment for struct mutex definition.
  2017-02-28 18:21 [PATCH 1/5] Add comment for struct mutex definition Tamara Diaconita
@ 2017-02-28 18:27 ` Julia Lawall
  2017-02-28 18:32 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2017-02-28 18:27 UTC (permalink / raw)
  To: Tamara Diaconita; +Cc: mchehab, outreachy-kernel, gregkh, Tamara Diaconita



On Tue, 28 Feb 2017, Tamara Diaconita wrote:

> Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>
> ---
>  drivers/staging/media/cxd2099/cxd2099.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
> index c72c3f0..f88690b 100644
> --- a/drivers/staging/media/cxd2099/cxd2099.c
> +++ b/drivers/staging/media/cxd2099/cxd2099.c
> @@ -54,7 +54,7 @@ struct cxd {
>  	int    amem_read;
>
>  	int    cammode;
> -	struct mutex lock;
> +	struct mutex lock;/*lock for digital devices*/

Comments should have at least one space before, a space after the /* and a
space before the */.

More importantly, it would be good to justify the choice of text for the
comment in some way.  Digital devices does not seem very specific.

julia

>  };
>
>  static int i2c_write_reg(struct i2c_adapter *adapter, u8 adr,
> --
> 2.9.3
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170228182154.25401-1-diaconita.tamara%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/5] Add comment for struct mutex definition.
  2017-02-28 18:21 [PATCH 1/5] Add comment for struct mutex definition Tamara Diaconita
  2017-02-28 18:27 ` [Outreachy kernel] " Julia Lawall
@ 2017-02-28 18:32 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2017-02-28 18:32 UTC (permalink / raw)
  To: Tamara Diaconita; +Cc: mchehab, outreachy-kernel, Tamara Diaconita

On Tue, Feb 28, 2017 at 08:21:54PM +0200, Tamara Diaconita wrote:
> Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>
> ---
>  drivers/staging/media/cxd2099/cxd2099.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)


Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You did not specify a description of why the patch is needed, or
  possibly, any description at all, in the email body.  Please read the
  section entitled "The canonical patch format" in the kernel file,
  Documentation/SubmittingPatches for what is needed in order to
  properly describe the change.

- You did not write a descriptive Subject: for the patch, allowing Greg,
  and everyone else, to know what this patch is all about.  Please read
  the section entitled "The canonical patch format" in the kernel file,
  Documentation/SubmittingPatches for what a proper Subject: line should
  look like.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-28 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28 18:21 [PATCH 1/5] Add comment for struct mutex definition Tamara Diaconita
2017-02-28 18:27 ` [Outreachy kernel] " Julia Lawall
2017-02-28 18:32 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.