git.openpandora.org
/
sgx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpu: pvr: fix missing return value warning when CONFIG_BUG=n
[sgx.git]
/
pvr
/
pvr_debugfs.c
diff --git
a/pvr/pvr_debugfs.c
b/pvr/pvr_debugfs.c
index
9636d02
..
32ca6c3
100644
(file)
--- a/
pvr/pvr_debugfs.c
+++ b/
pvr/pvr_debugfs.c
@@
-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,