diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-02 22:59:26 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-09 09:06:45 +0200 |
commit | b2ecb89c27a4fd110187e0afeca70557215f55a1 (patch) | |
tree | 82c984e2ef98b17c7f6b635991e4edebd76955fb /arch/sparc/kernel/ds.c | |
parent | b513b0d4563ab70a0a25e7a0ed94afaf88ac28bf (diff) |
drm/legacy: Fix type for drm_local_map.offset
drm_local_map.offset is not only used for resource_size_t but also
dma_addr_t which may be of different sizes.
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Fixes: 8e4ff9b56957 ("drm: Remove the dma_alloc_coherent wrapper for internal usage")
Tested-by: Nathan Chancellor <natechancellor@gmail.com> # build
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Dave Airlie <airlied@gmail.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200402215926.30714-1-chris@chris-wilson.co.uk
Diffstat (limited to 'arch/sparc/kernel/ds.c')
0 files changed, 0 insertions, 0 deletions