Re: [PATCH] scsi: scsi_transport_iscsi: use put_device() instead of kfree()

2018-03-17 Thread arvindY
On Thursday 15 March 2018 11:14 PM, Chris Leech wrote: On Wed, Mar 07, 2018 at 05:07:33PM +0530, Arvind Yadav wrote: Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind

Re: [PATCH] scsi: scsi_transport_iscsi: use put_device() instead of kfree()

2018-03-15 Thread Chris Leech
On Wed, Mar 07, 2018 at 05:07:33PM +0530, Arvind Yadav wrote: > Never directly free @dev after calling device_register(), even > if it returned an error! Always use put_device() to give up the > reference initialized. > > Signed-off-by: Arvind Yadav > --- >

Re: [PATCH] scsi: scsi_transport_iscsi: use put_device() instead of kfree()

2018-03-14 Thread Martin K. Petersen
> Never directly free @dev after calling device_register(), even > if it returned an error! Always use put_device() to give up the > reference initialized. Lee, Chris: Please review! -- Martin K. Petersen Oracle Linux Engineering -- You received this message because you are subscribed