Re: [PATCH 08/10] usb/gadget: split the three possible function in g_serial into three bind functions

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

 



* Sergei Shtylyov | 2012-10-17 23:38:20 [+0200]:

>Hello.

Hi Sergei,

>On 17-10-2012 21:06, Sebastian Andrzej Siewior wrote:
>
>>--- a/drivers/usb/gadget/serial.c
>>+++ b/drivers/usb/gadget/serial.c
>>@@ -129,19 +129,33 @@ MODULE_PARM_DESC(n_ports, "number of ports to create, default=1");
>>  /*-------------------------------------------------------------------------*/
>>-static int __init serial_bind_config(struct usb_configuration *c)
>>+static int __init serial_bind_acm_config(struct usb_configuration *c)
>>  {
>>  	unsigned i;
>>  	int status = 0;
>>-	for (i = 0; i < n_ports && status == 0; i++) {
>>-		if (use_acm)
>>+	for (i = 0; i < n_ports && status == 0; i++)
>>  			status = acm_bind_config(c, i);
>
>   Could you also change the indentation of the above line.

all three fixed.

>WBR, Sergei

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