> On Sep 17, 2015, at 8:26 PM, Brian King <brk...@linux.vnet.ibm.com> wrote:
> 
> On 09/16/2015 04:27 PM, Matthew R. Ochs wrote:
>> 
>>      lun_access = kzalloc(sizeof(*lun_access), GFP_KERNEL);
>>      if (unlikely(!lun_access)) {
>>              dev_err(dev, "%s: Unable to allocate lun_access!\n", __func__);
>> +            scsi_device_put(sdev);
> 
> Looks like you've got a double scsi_device_put in this path, since there is 
> another put
> in the the err0 path.

Good catch! I'll fix in v3.

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to