]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Remove function details from device error messages
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jul 2018 13:48:58 +0000 (14:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jul 2018 08:53:41 +0000 (09:53 +0100)
commit8cff1f4a3ca58ab426f224b4bd6af61c1a9976ab
tree4a12f528400a1a071ba826a7ac4783df46e3b7fe
parent82edc7e8b8c06151bdc653935bc13b83e2f0fcfa
drm/i915: Remove function details from device error messages

Error messages are intended to be addressed to the user; be clear,
succinct, instructive and unambiguous. Adding the function name to
that message does not add any information the user requires and in
the process makes the message less clear.

E.g.

[  245.539711] i915 0000:00:02.0: [drm:i915_gem_init [i915]] Failed to initialize GPU, declaring it wedged!

becomes

[  245.539711] i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180709134858.12446-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c