On Wed, Jan 30, 2013 at 03:01:07AM -0500, Gregs git-bot wrote: > commit: 4518f611ba21ba165ea3714055938a8984a44ff9 > From: Daniel Vetter <[email protected]> > Date: Wed, 23 Jan 2013 16:16:35 +0100 > Subject: drm/i915: dump UTS_RELEASE into the error_state > > Useful for statistics or on overflowing bug reports to keep things all > lined up. > > Reviewed-by: Chris Wilson <[email protected]> > Cc: [email protected] > Signed-off-by: Daniel Vetter <[email protected]> > --- > drivers/gpu/drm/i915/i915_debugfs.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c > b/drivers/gpu/drm/i915/i915_debugfs.c > index 7944d3015..9d4a2c2 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -30,6 +30,7 @@ > #include <linux/debugfs.h> > #include <linux/slab.h> > #include <linux/export.h> > +#include <generated/utsrelease.h> > #include <drm/drmP.h> > #include "intel_drv.h" > #include "intel_ringbuffer.h" > @@ -690,6 +691,7 @@ static int i915_error_state(struct seq_file *m, void > *unused) > > seq_printf(m, "Time: %ld s %ld us\n", error->time.tv_sec, > error->time.tv_usec); > + seq_printf(m, "Kernel: " UTS_RELEASE);
nitpick: probably you want a line break here, eg. seq_printf(m, "Kernel: %s\n", UTS_RELEASE) or seq_printf(m, "Kernel: " UTS_RELEASE "\n") > seq_printf(m, "PCI ID: 0x%04x\n", dev->pci_device); > seq_printf(m, "EIR: 0x%08x\n", error->eir); > seq_printf(m, "IER: 0x%08x\n", error->ier); -- []'s Herton -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
