All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: media: davinci_vpfe: Change to "%s...", __func__
@ 2018-03-12 12:44 Nishka Dasgupta
  2018-03-19 13:40 ` Nishka Dasgupta
  0 siblings, 1 reply; 3+ messages in thread
From: Nishka Dasgupta @ 2018-03-12 12:44 UTC (permalink / raw)
  To: mchehab, gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Change string explicitly mentioning function name to "%s...", __func__.
Issue found with checkpatch.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
---
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
index 6a3434c..7d3349b 100644
--- a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
+++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
@@ -696,7 +696,7 @@ static int ipipe_get_gamma_params(struct vpfe_ipipe_device *ipipe, void *param)
 
 	if (!gamma->bypass_r && !gamma_param->table_r) {
 		dev_err(dev,
-			"ipipe_get_gamma_params: table ptr empty for R\n");
+			"%s: table ptr empty for R\n", __func__);
 		return -EINVAL;
 	}
 	memcpy(gamma_param->table_r, gamma->table_r,
-- 
2.7.4



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

* Re: [PATCH] staging: media: davinci_vpfe: Change to "%s...", __func__
  2018-03-12 12:44 [PATCH] staging: media: davinci_vpfe: Change to "%s...", __func__ Nishka Dasgupta
@ 2018-03-19 13:40 ` Nishka Dasgupta
  2018-03-19 14:19   ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Nishka Dasgupta @ 2018-03-19 13:40 UTC (permalink / raw)
  To: mchehab, gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Resending a patch. (I cannot locate it in my commit history, so I
can't resend it the proper way; I apologise for the inconvenience.)

Thanking you,
Nishka Dasgupta


On Mon, Mar 12, 2018 at 6:14 PM, Nishka Dasgupta
<nishka.dasgupta_ug18@ashoka.edu.in> wrote:
> Change string explicitly mentioning function name to "%s...", __func__.
> Issue found with checkpatch.
>
> Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
> ---
>  drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> index 6a3434c..7d3349b 100644
> --- a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> +++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> @@ -696,7 +696,7 @@ static int ipipe_get_gamma_params(struct vpfe_ipipe_device *ipipe, void *param)
>
>         if (!gamma->bypass_r && !gamma_param->table_r) {
>                 dev_err(dev,
> -                       "ipipe_get_gamma_params: table ptr empty for R\n");
> +                       "%s: table ptr empty for R\n", __func__);
>                 return -EINVAL;
>         }
>         memcpy(gamma_param->table_r, gamma->table_r,
> --
> 2.7.4
>


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

* Re: [Outreachy kernel] Re: [PATCH] staging: media: davinci_vpfe: Change to "%s...", __func__
  2018-03-19 13:40 ` Nishka Dasgupta
@ 2018-03-19 14:19   ` Julia Lawall
  0 siblings, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2018-03-19 14:19 UTC (permalink / raw)
  To: Nishka Dasgupta; +Cc: mchehab, gregkh, outreachy-kernel



On Mon, 19 Mar 2018, Nishka Dasgupta wrote:

> Resending a patch. (I cannot locate it in my commit history, so I
> can't resend it the proper way; I apologise for the inconvenience.)

You need to make the change again, and send the patch again.  This can't
be applied.

julia

>
> Thanking you,
> Nishka Dasgupta
>
>
> On Mon, Mar 12, 2018 at 6:14 PM, Nishka Dasgupta
> <nishka.dasgupta_ug18@ashoka.edu.in> wrote:
> > Change string explicitly mentioning function name to "%s...", __func__.
> > Issue found with checkpatch.
> >
> > Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
> > ---
> >  drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> > index 6a3434c..7d3349b 100644
> > --- a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> > +++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> > @@ -696,7 +696,7 @@ static int ipipe_get_gamma_params(struct vpfe_ipipe_device *ipipe, void *param)
> >
> >         if (!gamma->bypass_r && !gamma_param->table_r) {
> >                 dev_err(dev,
> > -                       "ipipe_get_gamma_params: table ptr empty for R\n");
> > +                       "%s: table ptr empty for R\n", __func__);
> >                 return -EINVAL;
> >         }
> >         memcpy(gamma_param->table_r, gamma->table_r,
> > --
> > 2.7.4
> >
>
> --
> 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/CAC4%2B%2BKCx8_PewSvZx9v%3DGsFZ8f%2Bqb29SO8qYRGXS_YFmAmveHw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>


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

end of thread, other threads:[~2018-03-19 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 12:44 [PATCH] staging: media: davinci_vpfe: Change to "%s...", __func__ Nishka Dasgupta
2018-03-19 13:40 ` Nishka Dasgupta
2018-03-19 14:19   ` [Outreachy kernel] " Julia Lawall

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.