Skip to content

Commit ee7d633

Browse files
jimcgregkh
authored andcommitted
drm-print.h: include dyndbg header
lkp robot told me: >> drivers/gpu/drm/drm_ioc32.c:989:2: error: call to undeclared function '_dynamic_func_call_cls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DRM_DEBUG("comm=\"%s\", pid=%d, dev=0x%lx, auth=%d, %s\n", Since that macro is defined in drm_print.h, and under DRM_USE_DYN*=y configs, invokes dyndbg-factory macros, include dynamic_debug.h from there too, so that those configs have the definitions of all the macros in the callchain. This is done as a separate patch mostly to see how lkp sorts it. Signed-off-by: Jim Cromie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 84ec672 commit ee7d633

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/drm/drm_print.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <linux/seq_file.h>
3232
#include <linux/device.h>
3333
#include <linux/debugfs.h>
34+
#include <linux/dynamic_debug.h>
3435

3536
#include <drm/drm.h>
3637

0 commit comments

Comments
 (0)