> On Sep 17, 2015, at 8:26 PM, Brian King <brking@xxxxxxxxxxxxxxxxxx> 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. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html