On Fri, Jul 09, 2004 at 09:41:37AM -0400, Alan Stern wrote:
> Greg:
> 
> It makes sense for APIs involved in cleanup activities (like kfree()) to 
> accept NULL arguments.  Doing so frees drivers from the responsibility of 
> checking whether each resource was actually acquired before trying to 
> release it.  Accordingly, this patch makes usb_unlink_urb() and 
> usb_kill_urb() accept a NULL pointer (which used to be acceptable until I 
> changed it) and notes explicitly in the kerneldoc that such arguments are 
> permitted.

Applied, thanks.

greg k-h


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to