Re: [PATCH 04/11] [Storage] Removed testing code from f_mass_storage.c

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

 



On Mon, 31 Aug 2009, [iso-8859-2] Micha³ Nazarewicz wrote:

> Removed code that was included when CONFIG_USB_FILE_STORAGE_TEST
> was defined.  If this functionality is required one may still use
> the original File-backed Storage Gadget.  It has been agreed that
> testing functionality is not required in the composite function.
> 
> Also, removed fsg_suspend() and fsg_resume() functions since
> they were no operations.


> +#define STORAGE_BUFLEN ((u32)16384)

Evidently this is a matter of taste.  To me, 16384u would look much
better.

> +eopnotsupp:
>   		VSDBG(fsg,
> -			"unknown class-specific control req "
> -			"%02x.%02x v%04x i%04x l%u\n",
> -			ctrl->bRequestType, ctrl->bRequest,
> -			le16_to_cpu(ctrl->wValue), w_index, w_length);
> +		      "unknown class-specific control req "
> +		      "%02x.%02x v%04x i%04x l%u\n",
> +		      ctrl->bRequestType, ctrl->bRequest,
> +		      le16_to_cpu(ctrl->wValue), w_index, w_length);

Why bother to change the indentation style?

Alan Stern

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