diff options
author | Dave Gordon <david.s.gordon@intel.com> | 2016-08-18 17:17:22 (GMT) |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-09-05 15:04:42 (GMT) |
commit | 30b0da8d556e65ff935a56cd82c05ba0516d3e4a (patch) | |
tree | 39aa3459ffa9346f0790741749787704acf22380 /scripts | |
parent | 4bb05040fd685c549e6550f09daffee6cde4c370 (diff) | |
download | linux-30b0da8d556e65ff935a56cd82c05ba0516d3e4a.tar.xz |
drm: extra printk() wrapper macros
We had only DRM_INFO() and DRM_ERROR(), whereas the underlying printk()
provides several other useful intermediate levels such as NOTICE and
WARNING. So this patch fills out the set by providing both regular and
once-only macros for each of the levels INFO, NOTICE, and WARNING, using
a common underlying macro that does all the token-pasting.
DRM_ERROR is unchanged, as it's not just a printk wrapper.
v2:
Fix whitespace, missing ## (Eric Engestrom)
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Cc: dri-devel@lists.freedesktop.org
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions