Am Donnerstag, 16. November 2006 18:57 schrieb Mariusz Kozlowski:
> new_desc->host->hostdata[0] = (unsigned long)new_desc;
> if (scsi_add_host(new_desc->host, NULL)) {
> err_retval = -EIO;
> - goto out_free_urb;
> + goto err_4;
> }
> scsi_scan_host(new_desc->host);
>
> usb_set_intfdata(intf, new_desc);
> return 0;
>
> - out_kfree2:
> +err_4:
> + scsi_host_put(new_desc->host);
> +err_3:
> kfree(new_desc->context.scsi_status);
> - out_free_urb:
> +err_2:
> usb_free_urb(new_desc->urb);
> - out_kfree:
> +err_1:
> kfree(new_desc);
> - out:
> +err_0:
> return err_retval;
Ist there a reason you are replacing at least somewhat descriptive labels
with numbers?
Regards
Oliver
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel