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

Julien Cristau jcristau at debian.org
Tue Apr 5 14:39:19 PDT 2011


On Tue, Apr  5, 2011 at 21:50:15 +0100, Chris Wilson wrote:

> +	if ((unsigned)status > ARRAY_SIZE(strings))

off by one?

> +		return "unknown";
> +
> +	return strings[status];
> +}
> +

Cheers,
Julien


More information about the dri-devel mailing list