From 73b9a2881c37990dee0afb9cb23a6a1e85339ede Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 17 Apr 2012 08:35:43 +1000 Subject: nouveau: init nvc0 channel alloc req structure fully Kernel rejects ~0 handles, even though they're not used on NVC0. Signed-off-by: Ben Skeggs --- nouveau/abi16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nouveau/abi16.c b/nouveau/abi16.c index 688a9ac6..0fa575ce 100644 --- a/nouveau/abi16.c +++ b/nouveau/abi16.c @@ -55,7 +55,7 @@ int abi16_chan_nvc0(struct nouveau_object *obj) { struct nouveau_device *dev = (struct nouveau_device *)obj->parent; - struct drm_nouveau_channel_alloc req; + struct drm_nouveau_channel_alloc req = {}; struct nvc0_fifo *nvc0 = obj->data; int ret; -- cgit v1.2.3