From: Marcin Slusarz Date: Tue, 19 Apr 2011 21:50:48 +0000 (+0200) Subject: drm/nouveau: fix notifier memory corruption bug X-Git-Tag: v2.6.39-rc5~39^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a18d89ca026140eb8ac4459bf70a01c571dd9a32;p=pandora-kernel.git drm/nouveau: fix notifier memory corruption bug nouveau_bo_wr32 expects offset to be in words, but we pass value in bytes, so after commit 73412c3854c877e5f37ad944ee8977addde4d35a ("drm/nouveau: allocate kernel's notifier object at end of block") we started to overwrite some memory after notifier buffer object (previously m2mf_ntfy was always 0, so it didn't matter it was a value in bytes). Reported-by: Dominik Brodowski Reported-by: Nigel Cunningham Signed-off-by: Marcin Slusarz Cc: Ben Skeggs Cc: Pekka Paalanen Cc: stable@kernel.org [2.6.38] Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed