gpu: pvr: fix missing return value warning when CONFIG_BUG=n
[sgx.git] / pvr / pvr_debugfs.c
index 9636d02..32ca6c3 100644 (file)
@@ -109,6 +109,8 @@ static int pvr_debugfs_reset_wrapper(void *data, u64 val)
                return pvr_debugfs_reset(data, val);
 
        BUG();
+
+       return -EFAULT;
 }
 
 DEFINE_SIMPLE_ATTRIBUTE(pvr_debugfs_reset_fops, NULL,