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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

-- 
Kees Cook
Chrome OS Security


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux