]> git.itanic.dy.fi Git - linux-stable/commit
radeon: Do not directly dereference pointers to BIOS area.
authorDavid Miller <davem@davemloft.net>
Thu, 19 Mar 2015 03:18:40 +0000 (23:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Apr 2015 08:10:18 +0000 (10:10 +0200)
commitedfd6572d17986f3ba737314cc6a41e20f7a44a6
tree42fae96e2518e98f0d59193cab1d531360c49519
parent19b6da5ab9cd57b348bea9126fab9566d1cd7e18
radeon: Do not directly dereference pointers to BIOS area.

commit f2c9e560b406f2f6b14b345c7da33467dee9cdf2 upstream.

Use readb() and memcpy_fromio() accessors instead.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_bios.c