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@xxxxxxxxx> 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@xxxxxxxxxx> :::::: CC: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel