drm/i915: constify mode in crtc_mode_fixup
Subsystems (2)
PATCH 1/1 drm/i915: constify mode in crtc_mode_fixup
Laurent Pinchart missed this when sending in is giant constify patch:
commit e811f5ae19043b2ac2c28e147a4274038e655598
Author: Laurent Pinchart <[email protected]> Date: Tue Jul 17 17:56:50 2012 +0200
drm: Make the .mode_fixup() operations mode argument a const pointer
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -3575,7 +3575,7 @@ void intel_encoder_destroy(struct drm_encoder *encoder) }static bool intel_crtc_mode_fixup (struct drm_crtc *crtc, -struct drm_display_mode *mode, +const struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode) {struct drm_device *dev = crtc->dev;
Signature · 1 line
1.7.10
Hi Daniel,
Quoted 1 line · On Friday 20 July 2012 10:30:45 Daniel Vetter wrote:
Laurent Pinchart missed this when sending in is giant constify patch:
My bad, sorry. I would have sworn I had compiled all the x86 DRM drivers, that warning must have slipped through the cracks somehow. Thank you for the fix.
Quoted 7 lines
commit
e811f5ae19043b2ac2c28e147a4274038e655598Author: Laurent Pinchart <[email protected]> Date: Tue Jul 17 17:56:50 2012 +0200drm: Make the .mode_fixup() operations mode argument a const pointer
Signed-off-by Daniel Vetter <[email protected]>
Acked-by; Laurent Pinchart <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/gpu/drm/i915/intel_display.cindex 1802c30..fdd7671 100644drivers/gpu/drm/i915/intel_display.c +1
-1@@ -3575,7 +3575,7 @@ void intel_encoder_destroy(struct drm_encoder *encoder) }static bool intel_crtc_mode_fixup (struct drm_crtc *crtc, -struct drm_display_mode *mode, +const struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode) {struct drm_device *dev = crtc->dev;
Signature · 3 lines
Regards, Laurent Pinchart
Daniel Vetter
AppliedQuoted 12 lines · Laurent Pinchart
Hi Daniel,
Quoted 1 line · On Friday 20 July 2012 10:30:45 Daniel Vetter wrote:
Laurent Pinchart missed this when sending in is giant constify patch:
My bad, sorry. I would have sworn I had compiled all the x86 DRM drivers, that warning must have slipped through the cracks somehow. Thank you for the fix.
Quoted 4 lines
commit
e811f5ae19043b2ac2c28e147a4274038e655598Author: Laurent Pinchart <[email protected]> Date: Tue Jul 17 17:56:50 2012 +0200
Quoted 5 lines
Quoted 3 lines
drm: Make the .mode_fixup() operations mode argument a const pointer
Signed-off-by Daniel Vetter <[email protected]>Acked-by; Laurent Pinchart <[email protected]>
Picked up for -fixes, thanks for the ack.
-Daniel
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48