All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: media: bcm2048: Fixed an error
@ 2017-02-10 22:41 Ran Algawi
  2017-02-12 12:17 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Ran Algawi @ 2017-02-10 22:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-media, devel, linux-kernel

Fixed an error where the system was given a code in the form of decimal
instead of octal.

Signed-off-by: Ran Algawi <ran.algawi@gmail.com>
---
 drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c
index 37bd439..d605c41 100644
--- a/drivers/staging/media/bcm2048/radio-bcm2048.c
+++ b/drivers/staging/media/bcm2048/radio-bcm2048.c
@@ -300,7 +300,7 @@ struct bcm2048_device {
 };
 
 static int radio_nr = -1;	/* radio device minor (-1 ==> auto assign) */
-module_param(radio_nr, int, 0);
+module_param(radio_nr, int, 0000);
 MODULE_PARM_DESC(radio_nr,
 		 "Minor number for radio device (-1 ==> auto assign)");
 
-- 
2.7.4

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

* Re: [PATCH] Staging: media: bcm2048: Fixed an error
  2017-02-10 22:41 [PATCH] Staging: media: bcm2048: Fixed an error Ran Algawi
@ 2017-02-12 12:17 ` Greg KH
  2017-02-12 21:26   ` Ran Algawi
       [not found]   ` <CAKg+OeRBUVwixkiWnS07=vYG3QHRUkuKxtRmZn5dGWQ0SZVRzA@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Greg KH @ 2017-02-12 12:17 UTC (permalink / raw)
  To: Ran Algawi; +Cc: devel, linux-kernel, linux-media

On Sat, Feb 11, 2017 at 12:41:29AM +0200, Ran Algawi wrote:
> Fixed an error where the system was given a code in the form of decimal
> instead of octal.

It's not really an "error", right?  Please be more descriptive of
exactly what is going on here (hint, it's a coding style warning...)

thanks,

greg k-h

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

* Re: [PATCH] Staging: media: bcm2048: Fixed an error
  2017-02-12 12:17 ` Greg KH
@ 2017-02-12 21:26   ` Ran Algawi
       [not found]   ` <CAKg+OeRBUVwixkiWnS07=vYG3QHRUkuKxtRmZn5dGWQ0SZVRzA@mail.gmail.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Ran Algawi @ 2017-02-12 21:26 UTC (permalink / raw)
  To: Greg KH; +Cc: devel, linux-kernel, linux-media

Hello Greg,
I apperaciate you taking the time to educate me.
Do you consider all checkpatch errors/warnnings/checks as code style
fixes?
With regards,
Ran A.

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

* Re: [PATCH] Staging: media: bcm2048: Fixed an error
       [not found]   ` <CAKg+OeRBUVwixkiWnS07=vYG3QHRUkuKxtRmZn5dGWQ0SZVRzA@mail.gmail.com>
@ 2017-02-12 21:28     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2017-02-12 21:28 UTC (permalink / raw)
  To: Ran Algawi; +Cc: linux-media, linux-kernel, devel

On Sun, Feb 12, 2017 at 11:12:42PM +0200, Ran Algawi wrote:
> Hello Greg,
> First, I appreciate you taking the time to educate me. I used the checkpatch
> script on the file I fixed and he reported the line as an error. Do you
> consider all checkpatch warnings/error/checks as coding style fixes?

The ones that refer to coding style issues, yes, that is what they are.
Sometimes the script points out other things that should be changed,
like octal values which is not an error in this case, but rather a
clarification.

And please turn html off in your email client, it gets rejected by the
mailing lists :)

thanks,

greg k-h

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-10 22:41 [PATCH] Staging: media: bcm2048: Fixed an error Ran Algawi
2017-02-12 12:17 ` Greg KH
2017-02-12 21:26   ` Ran Algawi
     [not found]   ` <CAKg+OeRBUVwixkiWnS07=vYG3QHRUkuKxtRmZn5dGWQ0SZVRzA@mail.gmail.com>
2017-02-12 21:28     ` Greg Kroah-Hartman

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.