From: Ilia Mirkin Date: Fri, 9 Aug 2013 21:25:54 +0000 (-0400) Subject: drm/nouveau/fb: fix null derefs in nv49 and nv4e init X-Git-Tag: v3.11-rc7~10^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6284bf41b97fb36ed96b664a3c23b6dc3661f5f9;p=pandora-kernel.git drm/nouveau/fb: fix null derefs in nv49 and nv4e init Commit dceef5d87 (drm/nouveau/fb: initialise vram controller as pfb sub-object) moved some code around and introduced these null derefs. pfb->ram is set to the new ram object outside of this ctor. Reported-by: Ronald Uitermark Tested-by: Ronald Uitermark Signed-off-by: Ilia Mirkin Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed