• O
    mos7720 update · fe4b65ec
    Oliver Neukum 提交于
    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: NOliver Neukum <oneukum@suse.de>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    fe4b65ec
mos7720.c 42.0 KB