Re: [PATCH] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-10 Thread Oliver Neukum
On Sunday 07 October 2012 11:57:12 Constantine Shulyupin wrote: > From: Constantine Shulyupin > > Function skel_open increments usage count for the device with kref_get and > the usage count should be decremented on the function failure. > > Some last changes in function skel_open and finally

Re: [PATCH] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-10 Thread Oliver Neukum
On Sunday 07 October 2012 11:57:12 Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open

[PATCH] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-07 Thread Constantine Shulyupin
From: Constantine Shulyupin Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open and finally commit 52a7499 Revert "USB: usb-skeleton.c: fix open/disconnect race"

[PATCH] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-07 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open and finally commit 52a7499 Revert USB: usb-skeleton.c: fix