artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5a2f7
)
drm/radeon: fix copy of uninitialized variable back to userspace
author
jsg
<jsg@openbsd.org>
Mon, 17 May 2021 02:18:07 +0000
(
02:18
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 17 May 2021 02:18:07 +0000
(
02:18
+0000)
From Colin Ian King
8dbc2ccac5a65c5b57e3070e36a3dc97c7970d96
in mainline linux
sys/dev/pci/drm/radeon/radeon_kms.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/radeon/radeon_kms.c
b/sys/dev/pci/drm/radeon/radeon_kms.c
index
7d3569b
..
fddf2c3
100644
(file)
--- a/
sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/
sys/dev/pci/drm/radeon/radeon_kms.c
@@
-1236,6
+1236,7
@@
static int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file
*value = rdev->config.si.backend_enable_mask;
} else {
DRM_DEBUG_KMS("BACKEND_ENABLED_MASK is si+ only!\n");
+ return -EINVAL;
}
break;
case RADEON_INFO_MAX_SCLK: