Re: [PATCH 2/5] drivers: usb: core: hcd: Whitespace fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux