[Nouveau] [PATCH 2/2] usif: use correct struct inside usif_notify_get
Karol Herbst
kherbst at redhat.com
Sat Sep 8 23:03:20 UTC 2018
No functional change, but this is clearly a copy and paste error.
Signed-off-by: Karol Herbst <kherbst at redhat.com>
---
drm/nouveau/nouveau_usif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drm/nouveau/nouveau_usif.c b/drm/nouveau/nouveau_usif.c
index 9dc10b17..34d48775 100644
--- a/drm/nouveau/nouveau_usif.c
+++ b/drm/nouveau/nouveau_usif.c
@@ -192,7 +192,7 @@ usif_notify_get(struct drm_file *f, void *data, u32 size, void *argv, u32 argc)
struct nouveau_cli *cli = nouveau_cli(f);
struct nvif_client *client = &cli->base;
union {
- struct nvif_ioctl_ntfy_del_v0 v0;
+ struct nvif_ioctl_ntfy_get_v0 v0;
} *args = data;
struct usif_notify *ntfy;
int ret = -ENOSYS;
--
2.17.1
More information about the Nouveau
mailing list