From: Ben Skeggs Date: Tue, 12 Aug 2014 13:16:04 +0000 (+1000) Subject: drm/nouveau/nvif: fix dac load detect method definition X-Git-Tag: v4.14-rc1~6907^2^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bd62a8327d84e622c61faeb969164bfa370d91e;p=platform%2Fkernel%2Flinux-rpi.git drm/nouveau/nvif: fix dac load detect method definition A thinko made me turn this into a u16 when cleaning up. Spotted by coverity. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h index cc81e0e..573491f 100644 --- a/drivers/gpu/drm/nouveau/nvif/class.h +++ b/drivers/gpu/drm/nouveau/nvif/class.h @@ -428,8 +428,8 @@ struct nv50_disp_dac_pwr_v0 { struct nv50_disp_dac_load_v0 { __u8 version; __u8 load; - __u16 data; - __u8 pad04[4]; + __u8 pad02[2]; + __u32 data; }; struct nv50_disp_sor_pwr_v0 {