summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-11-27 11:16:23 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-11-28 08:07:58 +0100
commit8b2fb7b6518d143b382c3490d4a90f8676259ef9 (patch)
treef751d0908656e75a76abf0349b87a75983379fc0 /drivers
parent218adc17b0d362331f2df37304ba467881241d80 (diff)
downloadlinux-stable-8b2fb7b6518d143b382c3490d4a90f8676259ef9.tar.gz
linux-stable-8b2fb7b6518d143b382c3490d4a90f8676259ef9.tar.bz2
linux-stable-8b2fb7b6518d143b382c3490d4a90f8676259ef9.zip
drm: Fix conflicting macro parameter in drm_mm_for_each_node_in_range()
start is being used as both a macro parameter and as a member of struct drm_mm_node (node->start). This causes a conflict as cpp then tries to replace node->start with the passed in string for "start". Work just fine so long as you also happened to using local variables called start! Fixes: 522e85dd8677 ("drm: Define drm_mm_for_each_node_in_range()") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Christian König <christian.koenig@amd.com>. [danvet: Fixup kerneldoc.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20161127111623.11124-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions