• Alan Stern's avatar
    [PATCH] usbcore: add comment to updated hcd.h · 9b94c90d
    Alan Stern authored
    On Fri, 29 Oct 2004, David Brownell wrote:
    
    > Could you add a comment there that the HCD is
    > now _required_ to return a pointer that usbcore
    > can pass to kfree?  Since that's a layering
    > violation (in anticipation of later changes to
    > make it not be one!), it's surprising ... and
    > in any case, the memory lifecycle is no longer
    > described just by the calls in this header!
    
    That's a reasonable request, and here's an extra patch to add the comment.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    9b94c90d
hcd.h 13.8 KB