lkml.org 
[lkml]   [2013]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/5] drivers: usb: core: hcd: Whitespace fixes
From
Date
On Sat, 2013-10-05 at 11:04 -0700, Joe Perches wrote:
> On Sat, 2013-10-05 at 18:02 +0200, Matthias Beyer wrote:
> > - removing spaces before array indexing (foo [] to foo[])
> []
> > diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
> []
> > @@ -93,7 +93,7 @@ EXPORT_SYMBOL_GPL (usb_bus_list);
> > /* used when allocating bus numbers */
> > #define USB_MAXBUS 64
> > struct usb_busmap {
> > - unsigned long busmap [USB_MAXBUS / (8*sizeof (unsigned long))];
> > + unsigned long busmap[USB_MAXBUS / (8*sizeof (unsigned long))];
>
> this would be nicer as
>
> DEFINE_BITMAP(busmap, USB_MAXBUS);
>

nack, DECLARE_BITMAP(...)




\
 
 \ /
  Last update: 2013-10-05 20:21    [W:0.047 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site