From: Mika Kuoppala Date: Fri, 12 Apr 2013 09:10:05 +0000 (+0300) Subject: drm/i915: shorten debugfs output simple attributes X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~40^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a3b4f984b230d815d9f956f296a6145f1dfebb7;p=pandora-kernel.git drm/i915: shorten debugfs output simple attributes commit 647416f9eefe7699754b01b9fc82758fde83248c Author: Kees Cook 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 Signed-off-by: Mika Kuoppala Acked-by: Kees Cook Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed