[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPV97yfs_8EG2Q_inGd+jx-_v_11F0VireugD6d=Z=SvRX5juQ@mail.gmail.com>
Date: Tue, 29 Apr 2014 07:06:21 +0530
From: navin patidar <navin.patidar@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Greg KH <gregkh@...uxfoundation.org>,
Larry Finger <Larry.Finger@...inger.net>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: rtl8188eu: Use USB subsystem functions to check
endpoint type
On Mon, Apr 28, 2014 at 2:55 PM, Dan Carpenter <dan.carpenter@...cle.com> wrote:
> On Sat, Apr 26, 2014 at 10:13:55PM +0530, navin patidar wrote:
>> Use inline functions provided by USB subsystem to check endpoint type,
>> instead of macros implemented by driver to do the same.
>>
>> Unnecessary debugging messages are also removed.
>>
>
> I like both these changes but they would have been so much easier to
> review if you deleted the debugging messagese in [patch 1/2] and then
> changed the endpoint functions in [patch 2/2].
>
>> @@ -183,60 +143,36 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
>> pdvobjpriv->nr_endpoint = piface_desc->bNumEndpoints;
>>
>> for (i = 0; i < pdvobjpriv->nr_endpoint; i++) {
>> +
>
> Don't put a blank line here, btw.
>
>> + int ep_num;
>> phost_endp = phost_iface->endpoint + i;
>
> Anyway, please resend because it needs to be broken into two patches.
dan, I just did that.
regards,
navin patidar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists