• Oliver Neukum's avatar
    mos7720 update · fe4b65ec
    Oliver Neukum authored
    this driver has an interesting way of handling ENOMEM: complain and ignore.
    If you decide to live with allocation failures, you must
    
    1. guard against URBs without corresponding buffers
    2. complete allocation failures
    3. always test entries for NULL before you follow the pointers
    
    This patch does so.
    Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    fe4b65ec
mos7720.c 42 KB