[Intel-gfx] [PATCH] drm/i915: shorten debugfs output simple attributes

Daniel Vetter daniel at ffwll.ch
Tue Apr 16 09:33:07 CEST 2013


On Fri, Apr 12, 2013 at 11:00:20AM -0700, Kees Cook wrote:
> On Fri, Apr 12, 2013 at 2:10 AM, Mika Kuoppala
> <mika.kuoppala at linux.intel.com> wrote:
> > commit 647416f9eefe7699754b01b9fc82758fde83248c
> > Author: Kees Cook <keescook at chromium.org>
> > Date:   Sun Mar 10 14:10:06 2013 -0700
> >
> >     drm/i915: use simple attribute in debugfs routines
> >
> > made i915_next_seqno debugfs entry to crop it's output
> > if returned value was large enough. Using simple_attr
> > will limit the output to 24 bytes.
> >
> > Fix is to strip out preamples on all simple attributes
> > that have one.
> >
> > v2: Fix all simple attributes (Daniel Vetter)
> >
> > Cc: Kees Cook <keescook at chromium.org>
> > Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
> 
> Acked-by: Kees Cook <keescook at chromium.org>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list