[PATCH] drm: Pretty print out the reason for rejecting the mode

2011-04-06 Thread Henri Verbeet
On 5 April 2011 23:06, Marcin ?lusarz wrote: >> +static const char *mode_status_to_string(enum drm_mode_status status) >> +{ >> + ? ? ? const char *strings[] = { > > + static? > You'd probably even want that to be "static const char * const strings[]".

Re: [PATCH] drm: Pretty print out the reason for rejecting the mode

2011-04-06 Thread Henri Verbeet
On 5 April 2011 23:06, Marcin Ślusarz wrote: >> +static const char *mode_status_to_string(enum drm_mode_status status) >> +{ >> +       const char *strings[] = { > > + static? > You'd probably even want that to be "static const char * const strings[]". _