linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning
@ 2014-04-10  9:02 Vitaly Osipov
  2014-04-10  9:48 ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Osipov @ 2014-04-10  9:02 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-media, devel

tcm825x.c:

changed printk to pr_info

Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
---
 drivers/staging/media/omap24xx/tcm825x.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/media/omap24xx/tcm825x.c b/drivers/staging/media/omap24xx/tcm825x.c
index 2326481..3367ccd 100644
--- a/drivers/staging/media/omap24xx/tcm825x.c
+++ b/drivers/staging/media/omap24xx/tcm825x.c
@@ -914,8 +914,8 @@ static int __init tcm825x_init(void)
 
 	rval = i2c_add_driver(&tcm825x_i2c_driver);
 	if (rval)
-		printk(KERN_INFO "%s: failed registering " TCM825X_NAME "\n",
-		       __func__);
+		pr_info("%s: failed registering " TCM825X_NAME "\n",
+			__func__);
 
 	return rval;
 }
-- 
1.7.9.5


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

* Re: [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning
  2014-04-10  9:02 [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning Vitaly Osipov
@ 2014-04-10  9:48 ` Dan Carpenter
  2014-04-10 11:57   ` Vitaly Osipov
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2014-04-10  9:48 UTC (permalink / raw)
  To: Vitaly Osipov
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-media, devel

The two subjects are really close to being the same.  You should choose
better subjects.  Like:

[PATCH 2/2] staging: media: omap24xx: use pr_info() instead of KERN_INFO


(All the checkpatch.pl people use the exact same subject for everything
though, so you're not alone in this).

regards,
dan carpenter


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

* Re: [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning
  2014-04-10  9:48 ` Dan Carpenter
@ 2014-04-10 11:57   ` Vitaly Osipov
  2014-04-10 12:30     ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Osipov @ 2014-04-10 11:57 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-media, devel

Thanks, that's helpful - I for some reason thought that multi-part
patch had to have more or less uniform subject. We the checkpatch.pl
people come from http://www.eudyptula-challenge.org/, where at some
stage we are told to submit a patch for a single style issue in the
staging tree. All newbies... Hoping to be back with more substantial
contributions soon.
Regards,
Vitaly


On Thu, Apr 10, 2014 at 7:48 PM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> The two subjects are really close to being the same.  You should choose
> better subjects.  Like:
>
> [PATCH 2/2] staging: media: omap24xx: use pr_info() instead of KERN_INFO
>
>
> (All the checkpatch.pl people use the exact same subject for everything
> though, so you're not alone in this).
>
> regards,
> dan carpenter
>

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

* Re: [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning
  2014-04-10 11:57   ` Vitaly Osipov
@ 2014-04-10 12:30     ` Dan Carpenter
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2014-04-10 12:30 UTC (permalink / raw)
  To: Vitaly Osipov
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-media, devel

On Thu, Apr 10, 2014 at 09:57:23PM +1000, Vitaly Osipov wrote:
> Thanks, that's helpful - I for some reason thought that multi-part
> patch had to have more or less uniform subject. We the checkpatch.pl
> people come from http://www.eudyptula-challenge.org/, where at some
> stage we are told to submit a patch for a single style issue in the
> staging tree. All newbies... Hoping to be back with more substantial
> contributions soon.

Yeah, I know about eudyptula.  No worries.  Newbies are welcome in
staging.

regards,
dan carpenter


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

end of thread, other threads:[~2014-04-10 12:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10  9:02 [PATCH 2/2] staging: media: omap24xx: fix up a checkpatch.pl warning Vitaly Osipov
2014-04-10  9:48 ` Dan Carpenter
2014-04-10 11:57   ` Vitaly Osipov
2014-04-10 12:30     ` Dan Carpenter

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).