Re: [PATCH] usb: core: endpoint: Fix error path

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

 



Thanks Ming.
I have certain doubts related to device_unregister()

In some of USB related code..
kfree() is called after device_unregister() ...  device_unregister()
also internally calls put_device()... is that correct behavior or I'm
missing something here..
ex.
file : drivers/usb/gadget/fsl_udc_core.c
function : static int __init fsl_udc_probe(struct platform_device *pdev)


- Rahul Ruikar





On 2 October 2010 15:28, Ming Lei <tom.leiming@xxxxxxxxx> wrote:
> 2010/10/2 Rahul Ruikar <rahul.ruikar@xxxxxxxxx>:
>> revised patch attached.
>
> Acked-by: Ming Lei <tom.leiming@xxxxxxxxx>
>
> --
> Lei Ming
>
--
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