From: kbuild test robot <lkp@intel.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH] media: omap2: omapfb: convert to DEFINE_SHOW_ATTRIBUTE
Date: Sun, 02 Dec 2018 04:07:42 +0000 [thread overview]
Message-ID: <201812021235.tGIlmSRj%fengguang.wu@intel.com> (raw)
In-Reply-To: <20181201130114.7092-1-tiny.windzz@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3208 bytes --]
Hi Yangtao,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc4 next-20181130]
[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/Yangtao-Li/media-omap2-omapfb-convert-to-DEFINE_SHOW_ATTRIBUTE/20181202-104442
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 8.1.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=8.1.0 make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
drivers/video/fbdev/omap2/omapfb/dss/core.c: In function 'dss_debugfs_create_file':
>> drivers/video/fbdev/omap2/omapfb/dss/core.c:138:12: error: 'dss_debug_fops' undeclared (first use in this function); did you mean 'dss_debugfs_dir'?
write, &dss_debug_fops);
^~~~~~~~~~~~~~
dss_debugfs_dir
drivers/video/fbdev/omap2/omapfb/dss/core.c:138:12: note: each undeclared identifier is reported only once for each function it appears in
vim +138 drivers/video/fbdev/omap2/omapfb/dss/core.c
f76ee892 Tomi Valkeinen 2015-12-09 132
f76ee892 Tomi Valkeinen 2015-12-09 133 int dss_debugfs_create_file(const char *name, void (*write)(struct seq_file *))
f76ee892 Tomi Valkeinen 2015-12-09 134 {
f76ee892 Tomi Valkeinen 2015-12-09 135 struct dentry *d;
f76ee892 Tomi Valkeinen 2015-12-09 136
f76ee892 Tomi Valkeinen 2015-12-09 137 d = debugfs_create_file(name, S_IRUGO, dss_debugfs_dir,
f76ee892 Tomi Valkeinen 2015-12-09 @138 write, &dss_debug_fops);
f76ee892 Tomi Valkeinen 2015-12-09 139
f76ee892 Tomi Valkeinen 2015-12-09 140 return PTR_ERR_OR_ZERO(d);
f76ee892 Tomi Valkeinen 2015-12-09 141 }
35b522cf Tomi Valkeinen 2015-12-09 142 #else /* CONFIG_FB_OMAP2_DSS_DEBUGFS */
f76ee892 Tomi Valkeinen 2015-12-09 143 static inline int dss_initialize_debugfs(void)
f76ee892 Tomi Valkeinen 2015-12-09 144 {
f76ee892 Tomi Valkeinen 2015-12-09 145 return 0;
f76ee892 Tomi Valkeinen 2015-12-09 146 }
f76ee892 Tomi Valkeinen 2015-12-09 147 static inline void dss_uninitialize_debugfs(void)
f76ee892 Tomi Valkeinen 2015-12-09 148 {
f76ee892 Tomi Valkeinen 2015-12-09 149 }
f76ee892 Tomi Valkeinen 2015-12-09 150 int dss_debugfs_create_file(const char *name, void (*write)(struct seq_file *))
f76ee892 Tomi Valkeinen 2015-12-09 151 {
f76ee892 Tomi Valkeinen 2015-12-09 152 return 0;
f76ee892 Tomi Valkeinen 2015-12-09 153 }
35b522cf Tomi Valkeinen 2015-12-09 154 #endif /* CONFIG_FB_OMAP2_DSS_DEBUGFS */
f76ee892 Tomi Valkeinen 2015-12-09 155
:::::: The code at line 138 was first introduced by commit
:::::: f76ee892a99e68b55402b8d4b8aeffcae2aff34d omapfb: copy omapdss & displays for omapfb
:::::: TO: Tomi Valkeinen <tomi.valkeinen@ti.com>
:::::: CC: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
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: 55665 bytes --]
prev parent reply other threads:[~2018-12-02 4:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-01 13:01 [PATCH] media: omap2: omapfb: convert to DEFINE_SHOW_ATTRIBUTE Yangtao Li
2018-12-02 3:58 ` kbuild test robot
2018-12-02 4:07 ` 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=201812021235.tGIlmSRj%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=linux-fbdev@vger.kernel.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