public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 1/2]bluetooth:bfusb.c whitespace cleaning (with some questions).
@ 2013-11-11  2:52 Luca Bartolacci
  2013-11-11  7:57 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Bartolacci @ 2013-11-11  2:52 UTC (permalink / raw)
  To: kernel-janitors

The thing is this one, for example i already read about kerneljanitors
and the we are "cleaning" the code with checkpatch. I put next here
some "clean" of a whitespace on bluetooth/bfusb.c. The thing is: "Its
ok to make a big patch, cleaning all the warnings?"
We must do it all at once ?
Example:
total: 2 errors, 13 warnings, 742 lines checked
If i clean all in one patch, its ok?.
Im asking this because i know its a pain in the *ss to be
cherrypicking from all the clean, not in this case. But there are code
with 200 warnings (of line over 80 characters).
Beside this, the other thing the is bothering me is: "Should i do this
kind of patch or should i focus on find bugs in the code?"(Like
locking bugs, security bugs, etc)

I apologize if I made/asked something wrong.


diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index 3138699..cc8a707 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -145,8 +145,8 @@ static int bfusb_send_bulk(struct bfusb_data *data, struct s

        err = usb_submit_urb(urb, GFP_ATOMIC);
        if (err) {
-               BT_ERR("%s bulk tx submit failed urb %p err %d",
-                                       data->hdev->name, urb, err);
+               BT_ERR("%s bulk tx submit failed urb %p err %d",
+                                        data->hdev->name, urb, err);
                skb_unlink(skb, &data->pending_q);
                usb_free_urb(urb);
        } else

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

end of thread, other threads:[~2013-11-11  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11  2:52 [patch 1/2]bluetooth:bfusb.c whitespace cleaning (with some questions) Luca Bartolacci
2013-11-11  7:57 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox