diff options
author | Mikko Tiihonen <mikko.tiihonen@iki.fi> | 2013-01-30 14:10:04 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-01-30 14:10:04 -0500 |
commit | f689e3acbd2e48cc4101e0af454193f81af4baaf (patch) | |
tree | 39cd14fa86616b7dca061d3211079f235386e02e /net/dsa/dsa.c | |
parent | f7eb97300832f4fe5fe916c5d84cd2e25169330e (diff) | |
download | linux-f689e3acbd2e48cc4101e0af454193f81af4baaf.tar.bz2 |
drm/radeon: protect against div by 0 in backend setup
Make sure at least one RB is enabled in
r6xx_remap_render_backend() to avoid an division by
zero in some corner cases.
See:
https://bugzilla.redhat.com/show_bug.cgi?id=892233
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions