summaryrefslogtreecommitdiff
path: root/crypto/ablkcipher.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-08-07 10:31:17 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-08-07 12:35:53 (GMT)
commit209e4dbc8dcdb2b1839f18fd1cf07ec7bedadf4d (patch)
treec9722b8253e9cd427c7d919280416111c3b5048f /crypto/ablkcipher.c
parent047fe6e6db9161e69271f56daaafdaf2add023b1 (diff)
downloadlinux-209e4dbc8dcdb2b1839f18fd1cf07ec7bedadf4d.tar.xz
drm/vblank: Use u32 consistently for vblank counters
In commit 99264a61dfcda41d86d0960cf2d4c0fc2758a773 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Apr 15 19:34:43 2015 +0200 drm/vblank: Fixup and document timestamp update/read barriers I've switched vblank->count from atomic_t to unsigned long and accidentally created an integer comparison bug in drm_vblank_count_and_time since vblanke->count might overflow the u32 local copy and hence the retry loop never succeed. Fix this by consistently using u32. Cc: Michel Dänzer <michel@daenzer.net> Reported-by: Michel Dänzer <michel@daenzer.net> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions