Re: [PATCH 07/12] usbip: vudc: Add UDC specific ops

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

 



Hi,

Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx> writes:
> From: Igor Kotrasinski <i.kotrasinsk@xxxxxxxxxxx>
>
> Add endpoints definitions and ops for both endpoints and gadget.
> Add also a suitable platform driver and functions for handling
> usbip events.
>
> This commit is a result of cooperation between Samsung R&D Institute
> Poland and Open Operating Systems Student Society at University
> of Warsaw (O2S3@UW) consisting of:
>
>     Igor Kotrasinski <ikotrasinsk@xxxxxxxxx>
>     Karol Kosik <karo9@xxxxxxxxxx>
>     Ewelina Kosmider <3w3lfin@xxxxxxxxx>
>     Dawid Lazarczyk <lazarczyk.dawid@xxxxxxxxx>
>     Piotr Szulc <ps347277@xxxxxxxxxxxxxxxxxxxxx>
>
> Tutor and project owner:
>     Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx>
>
> Signed-off-by: Igor Kotrasinski <i.kotrasinsk@xxxxxxxxxxx>
> Signed-off-by: Karol Kosik <karo9@xxxxxxxxxx>
> [Various bug fixes, improvements and commit msg update]
> Signed-off-by: Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx>

just a couple minor nits below. Nice work

> +struct vep *find_endpoint(struct vudc *udc, u8 address)

polluting namespace. Care to add 'static'?

> +static void vep_free_request(struct usb_ep *_ep, struct usb_request *_req)
> +{
> +	struct vrequest *req;
> +
> +	if (!_ep || !_req) {
> +		WARN_ON(1);
> +		return;
> +	}

if (WARN_ON(!_ep || !_req))
	return;

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux