From: kbuild test robot <lkp@intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org, kbuild-all@01.org
Subject: [driver-core:debugfs_remove_return_value 3/9] arch/powerpc/platforms/pseries/dtl.c:356:19: error: void value not ignored as it ought to be
Date: Tue, 1 Oct 2019 21:36:36 +0800 [thread overview]
Message-ID: <201910012131.S4gFNSxt%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3229 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_remove_return_value
head: 2a00e100fa7b9ee326af19617a84b138c8bd086a
commit: 7f3671a8c54b423d8227d7a58e6dc8c5734cda19 [3/9] debugfs: remove return value of debugfs_create_u32()
config: powerpc-ppc64_defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7f3671a8c54b423d8227d7a58e6dc8c5734cda19
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/platforms/pseries/dtl.c: In function 'dtl_init':
>> arch/powerpc/platforms/pseries/dtl.c:356:19: error: void value not ignored as it ought to be
buf_entries_file = debugfs_create_u32("dtl_buf_entries", 0400,
^
vim +356 arch/powerpc/platforms/pseries/dtl.c
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 335
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 336 static int dtl_init(void)
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 337 {
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 338 struct dentry *event_mask_file, *buf_entries_file;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 339 int rc, i;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 340
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 341 if (!firmware_has_feature(FW_FEATURE_SPLPAR))
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 342 return -ENODEV;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 343
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 344 /* set up common debugfs structure */
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 345
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 346 rc = -ENOMEM;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 347 dtl_dir = debugfs_create_dir("dtl", powerpc_debugfs_root);
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 348 if (!dtl_dir) {
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 349 printk(KERN_WARNING "%s: can't create dtl root dir\n",
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 350 __func__);
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 351 goto err;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 352 }
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 353
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 354 event_mask_file = debugfs_create_x8("dtl_event_mask", 0600,
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 355 dtl_dir, &dtl_event_mask);
af442a1baa6d00 Nishanth Aravamudan 2011-05-04 @356 buf_entries_file = debugfs_create_u32("dtl_buf_entries", 0400,
:::::: The code at line 356 was first introduced by commit
:::::: af442a1baa6d00117cc7e7377ce7e6a545268684 powerpc: Ensure dtl buffers do not cross 4k boundary
:::::: TO: Nishanth Aravamudan <nacc@us.ibm.com>
:::::: CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
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: 25428 bytes --]
[-- Attachment #3: Type: text/plain, Size: 169 bytes --]
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
reply other threads:[~2019-10-01 13:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201910012131.S4gFNSxt%lkp@intel.com \
--to=lkp@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.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;
as well as URLs for NNTP newsgroup(s).