]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 22 Apr 2015 06:58:36 +0000 (08:58 +0200)
commit7854b0fb24bbc26a8077188bbe619f5726c84dcd
tree49b2a237694f8480d67625ed234194689db62042
parentc75b0a8bac60682488393cddbb46959d37c1816e
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: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/radeon_bios.c