4ad8804 Fix a couple issues found by sparse and coccinelle

Authored and Committed by Tim Crawford 5 years ago
    Fix a couple issues found by sparse and coccinelle
    
    - spatch: Use NULL instead of 0 in filp_close call
    - spatch: Declare dattobd_should_remove_suid as static
    - scripts/coccinelle/misc/cstptr.cocci: Don't use PTR_ERR after assigning to NULL
    
        
file modified
+3 -3