Re: [Intel-gfx] [PATCH 4/4] drm: Constify the pretty-print functions

2013-06-18 Thread Dave Airlie
On Wed, Jun 19, 2013 at 10:53 AM, Laurent Pinchart wrote: > Hi Ville, > > On Friday 07 June 2013 18:43:07 ville.syrj...@linux.intel.com wrote: >> From: Ville Syrjälä >> >> The structures and strings involved with various pretty-print functions >> aren't meant to be modified, so make them all cons

Re: [Intel-gfx] [PATCH 4/4] drm: Constify the pretty-print functions

2013-06-18 Thread Laurent Pinchart
Hi Ville, On Friday 07 June 2013 18:43:07 ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The structures and strings involved with various pretty-print functions > aren't meant to be modified, so make them all const. The exception is > drm_connector_enum_list which does get modifi

Re: [Intel-gfx] [PATCH 4/4] drm: Constify the pretty-print functions

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 06:43:07PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The structures and strings involved with various pretty-print functions > aren't meant to be modified, so make them all const. The exception is > drm_connector_enum_list which does get modifie

[Intel-gfx] [PATCH 4/4] drm: Constify the pretty-print functions

2013-06-07 Thread ville . syrjala
From: Ville Syrjälä The structures and strings involved with various pretty-print functions aren't meant to be modified, so make them all const. The exception is drm_connector_enum_list which does get modified in drm_connector_init(). While at it move the drm_get_connector_status_name() prototyp