diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-28 01:18:47 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-12-03 23:28:58 +1000 |
commit | bdefc8cbdfc71ea73e0573dbd2d24c0a68232218 (patch) | |
tree | 609894300c8209eb918066d13c8d5162168e88e7 /mm/backing-dev.c | |
parent | 13cd1a5511eb44a54187d91d4929a6592787a48b (diff) | |
download | talos-obmc-linux-bdefc8cbdfc71ea73e0573dbd2d24c0a68232218.tar.gz talos-obmc-linux-bdefc8cbdfc71ea73e0573dbd2d24c0a68232218.zip |
drm/nv50/disp: min/max are reversed in nv50_crtc_gamma_set()
We should be taking the minimum here instead of the max. It could lead
to a buffer overflow.
Fixes: 438d99e3b175 ('drm/nvd0/disp: initial crtc object implementation')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
a/drm/nv50_display.c b/drm/nv50_display.c
index f8e66c08b11a..4e384a2f99c3 100644
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions