From: kbuild test robot <lkp@intel.com>
To: Malathi Gottam <mgottam@codeaurora.org>
Cc: kbuild-all@01.org, stanimir.varbanov@linaro.org,
hverkuil@xs4all.nl, mchehab@kernel.org,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, acourbot@chromium.org,
vgarodia@codeaurora.org, mgottam@codeaurora.org
Subject: Re: [PATCH] media: venus: add debugfs support
Date: Fri, 28 Dec 2018 18:05:22 +0800 [thread overview]
Message-ID: <201812281818.BzMhPVur%fengguang.wu@intel.com> (raw)
In-Reply-To: <1545983526-3923-1-git-send-email-mgottam@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 23944 bytes --]
Hi Malathi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on next-20181224]
[cannot apply to v4.20]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Malathi-Gottam/media-venus-add-debugfs-support/20181228-160258
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sh
All error/warnings (new ones prefixed by >>):
In file included from include/linux/kernel.h:14:0,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/core.c:15:
drivers/media/platform/qcom/venus/core.c: In function 'venus_debugfs_init_drv':
>> drivers/media/platform/qcom/venus/core.c:56:9: error: '__name' undeclared (first use in this function); did you mean '__naked'?
dir, __name); \
^
include/linux/printk.h:315:34: note: in definition of macro 'pr_info'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
>> drivers/media/platform/qcom/venus/core.c:55:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed creating debugfs file '%pd/%s'\n", \
^~~~~~~
>> drivers/media/platform/qcom/venus/core.c:63:2: note: in expansion of macro '__debugfs_create'
__debugfs_create(x32, "debug_level", &venus_debug);
^~~~~~~~~~~~~~~~
drivers/media/platform/qcom/venus/core.c:56:9: note: each undeclared identifier is reported only once for each function it appears in
dir, __name); \
^
include/linux/printk.h:315:34: note: in definition of macro 'pr_info'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
>> drivers/media/platform/qcom/venus/core.c:55:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed creating debugfs file '%pd/%s'\n", \
^~~~~~~
>> drivers/media/platform/qcom/venus/core.c:63:2: note: in expansion of macro '__debugfs_create'
__debugfs_create(x32, "debug_level", &venus_debug);
^~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/core.c:15:
drivers/media/platform/qcom/venus/core.c: In function 'venus_clks_enable':
>> include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/core.c:185:2: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to enable clk:%d\n", i);
^~~~~~~
drivers/media/platform/qcom/venus/core.c:185:38: note: format string is defined here
dprintk(ERR, "Failed to enable clk:%d\n", i);
~^
%s
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/core.c:15:
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/core.c:185:2: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to enable clk:%d\n", i);
^~~~~~~
drivers/media/platform/qcom/venus/core.c: In function 'venus_probe':
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/core.c:297:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to ioremap platform resources");
^~~~~~~
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/core.c:351:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to init video firmware\n");
^~~~~~~
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/core.c:377:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to register v4l2 device\n");
^~~~~~~
--
In file included from include/linux/kernel.h:14:0,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
drivers/media/platform/qcom/venus/helpers.c: In function 'venus_helper_check_codec':
>> drivers/media/platform/qcom/venus/helpers.c:78:40: error: 'pixfmt' undeclared (first use in this function); did you mean 'pr_fmt'?
dprintk(WARN, "Unknown format:%x\n", pixfmt);
^
include/linux/printk.h:315:34: note: in definition of macro 'pr_info'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
>> drivers/media/platform/qcom/venus/helpers.c:78:3: note: in expansion of macro 'dprintk'
dprintk(WARN, "Unknown format:%x\n", pixfmt);
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:78:40: note: each undeclared identifier is reported only once for each function it appears in
dprintk(WARN, "Unknown format:%x\n", pixfmt);
^
include/linux/printk.h:315:34: note: in definition of macro 'pr_info'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
>> drivers/media/platform/qcom/venus/helpers.c:78:3: note: in expansion of macro 'dprintk'
dprintk(WARN, "Unknown format:%x\n", pixfmt);
^~~~~~~
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
drivers/media/platform/qcom/venus/helpers.c: In function 'venus_helper_queue_dpb_bufs':
>> include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const char *' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:107:4: note: in expansion of macro 'dprintk'
dprintk(ERR, "%s: Failed to queue dpb buf to hfi: %d\n",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:107:55: note: format string is defined here
dprintk(ERR, "%s: Failed to queue dpb buf to hfi: %d\n",
~^
%s
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:107:4: note: in expansion of macro 'dprintk'
dprintk(ERR, "%s: Failed to queue dpb buf to hfi: %d\n",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c: In function 'venus_helper_alloc_dpb_bufs':
>> include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:164:2: note: in expansion of macro 'dprintk'
dprintk(DBG, "buf count min %d", count);
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:164:31: note: format string is defined here
dprintk(DBG, "buf count min %d", count);
~^
%s
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:164:2: note: in expansion of macro 'dprintk'
dprintk(DBG, "buf count min %d", count);
^~~~~~~
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:182:4: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to alloc dma attrs for dpbbufs\n");
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c: In function 'intbufs_set_buffer':
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:217:4: note: in expansion of macro 'dprintk'
dprintk(ERR, "Out of memory\n");
^~~~~~~
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:230:4: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to alloc dma attrs for intbufs\n");
^~~~~~~
>> include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:239:3: note: in expansion of macro 'dprintk'
dprintk(DBG, "Buffer address: %#x\n bufsize: %d, buf_type: %d",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:239:35: note: format string is defined here
dprintk(DBG, "Buffer address: %#x\n bufsize: %d, buf_type: %d",
~~^
%#s
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:239:3: note: in expansion of macro 'dprintk'
dprintk(DBG, "Buffer address: %#x\n bufsize: %d, buf_type: %d",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c: In function 'load_scale_clocks':
>> include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'char *' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:394:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to set clock rate %lu clk: %d\n",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:394:44: note: format string is defined here
dprintk(ERR, "Failed to set clock rate %lu clk: %d\n",
~~^
%s
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:394:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to set clock rate %lu clk: %d\n",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:394:52: note: format string is defined here
dprintk(ERR, "Failed to set clock rate %lu clk: %d\n",
~^
%ld
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:14,
from include/linux/clk.h:16,
from drivers/media/platform/qcom/venus/helpers.c:15:
include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
>> drivers/media/platform/qcom/venus/core.h:55:4: note: in expansion of macro 'pr_info'
pr_info("venus:" fmt, \
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c:394:3: note: in expansion of macro 'dprintk'
dprintk(ERR, "Failed to set clock rate %lu clk: %d\n",
^~~~~~~
drivers/media/platform/qcom/venus/helpers.c: In function 'session_process_buf':
>> include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const char *' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:315:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
..
vim +56 drivers/media/platform/qcom/venus/core.c
> 15 #include <linux/clk.h>
16 #include <linux/debugfs.h>
17 #include <linux/init.h>
18 #include <linux/ioctl.h>
19 #include <linux/list.h>
20 #include <linux/module.h>
21 #include <linux/of_device.h>
22 #include <linux/platform_device.h>
23 #include <linux/slab.h>
24 #include <linux/types.h>
25 #include <linux/pm_runtime.h>
26 #include <media/videobuf2-v4l2.h>
27 #include <media/v4l2-mem2mem.h>
28 #include <media/v4l2-ioctl.h>
29
30 #include "core.h"
31 #include "vdec.h"
32 #include "venc.h"
33 #include "firmware.h"
34
35 struct dentry *debugfs_root;
36 int venus_debug = ERR;
37 EXPORT_SYMBOL_GPL(venus_debug);
38
39 static struct dentry *venus_debugfs_init_drv(void)
40 {
41 bool ok = false;
42 struct dentry *dir = NULL;
43
44 dir = debugfs_create_dir("venus", NULL);
45 if (IS_ERR_OR_NULL(dir)) {
46 dir = NULL;
47 pr_err("failed to create debug dir");
48 goto failed_create_dir;
49 }
50
51 #define __debugfs_create(__type, __fname, __value) ({ \
52 struct dentry *f = debugfs_create_##__type(__fname, 0644, \
53 dir, __value); \
54 if (IS_ERR_OR_NULL(f)) { \
> 55 dprintk(ERR, "Failed creating debugfs file '%pd/%s'\n", \
> 56 dir, __name); \
57 f = NULL; \
58 } \
59 f; \
60 })
61
62 ok =
> 63 __debugfs_create(x32, "debug_level", &venus_debug);
64
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50447 bytes --]
prev parent reply other threads:[~2018-12-28 10:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-28 7:52 Malathi Gottam
2018-12-28 8:55 ` kbuild test robot
2018-12-28 10:05 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201812281818.BzMhPVur%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=acourbot@chromium.org \
--cc=hverkuil@xs4all.nl \
--cc=kbuild-all@01.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mgottam@codeaurora.org \
--cc=stanimir.varbanov@linaro.org \
--cc=vgarodia@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®