• Alan Stern's avatar
    [PATCH] USB: Changes to core/config.c (1 of 9) · 63fc7434
    Alan Stern authored
    This first patch makes only trivial changes.  Excess whitespace at the end
    of lines is removed and return codes are altered from -1 to symbolic error
    values.  The only significant difference is that in one spot a valid
    return is changed to an error return, when a descriptor does not have the
    correct type.
    
     - Remove excess whitespace at the ends of lines.
     - Change return codes to symbolic values.
     - Return an error when an invalid endpoint descriptor is found.
    63fc7434
config.c 13.1 KB