Re: [PATCH] Logitech G13 driver (fixed cc list --- ignore others)

From
Rick L. Vinyard, Jr. <hidden>
Date
2009-12-14 22:49:51
Also in
lkml
Reply to
Felipe Balbi, 2009-12-14
Hello,

Felipe Balbi wrote:
On Mon, Dec 14, 2009 at 10:22:32PM +0100, ext Rick L. Vinyard Jr. wrote:
quoted
Signed-off-by: Rick L. Vinyard, Jr <redacted>
there are plenty of style mistakes in this patch. the body message
description which you put below should be above the signed-off-by line,
Fixed in the new patch labelled 0.0.2
multi-lined comments are of the form:

/*
  * multi lined comment
  * goes here
  */
Fixed
remove the commented code like /* hid_debug = 0 */
Removed
and some others.. please run your patch through scripts/checkpatch.pl
--strict and fix the errors and warnings reported.
I ran it without the --strict option before. That's probably why I didn't
catch it. It's clean now with --strict.
quoted
+static int __init g13_init(void)
+{
+       pr_debug("g13 HID driver loaded");
don't pr_debug() here.
Removed
quoted
+       return hid_register_driver(&g13_driver);
+}
+
+static void __exit g13_exit(void)
+{
+       pr_debug("g13 HID driver unloaded");
nor here.
quoted
+       hid_unregister_driver(&g13_driver);
+}
Removed

Thanks for the input. Everything above is taken into account in v0.0.2 of
the patch.

---

Rick
Thread (19 messages) 19 messages, 7 authors, last reply 2010-01-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help