[2/2] usif: use correct struct inside usif_notify_get

Submitted by Karol Herbst on Sept. 8, 2018, 11:03 p.m.

Details

Message ID 20180908230320.7887-2-kherbst@redhat.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Nouveau

Not browsing as part of any series.

Commit Message

Karol Herbst Sept. 8, 2018, 11:03 p.m.
No functional change, but this is clearly a copy and paste error.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
---
 drm/nouveau/nouveau_usif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;