tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git debugfs_cleanup head: 05f6bcf9002239baec3686f19f6b279cb67dccbd commit: 05f6bcf9002239baec3686f19f6b279cb67dccbd [814/814] arch/*: no need to check return value of debugfs_create functions config: x86_64-randconfig-x007-201821 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: git checkout 05f6bcf9002239baec3686f19f6b279cb67dccbd # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): arch/x86//kernel/kdebugfs.c: In function 'boot_params_kdebugfs_init': arch/x86//kernel/kdebugfs.c:150:1: warning: label 'err_dir' defined but not used [-Wunused-label] err_dir: ^~~~~~~ >> arch/x86//kernel/kdebugfs.c:146:3: error: label 'err_data' used but not defined goto err_data; ^~~~ vim +/err_data +146 arch/x86//kernel/kdebugfs.c 6d7d74337 Huang, Ying 2008-01-30 133 6d7d74337 Huang, Ying 2008-01-30 134 static int __init boot_params_kdebugfs_init(void) 6d7d74337 Huang, Ying 2008-01-30 135 { 05f6bcf90 Greg Kroah-Hartman 2018-05-30 136 struct dentry *dbp; 390cd85c8 Jaswinder Singh Rajput 2009-03-21 137 int error = -ENOMEM; 6d7d74337 Huang, Ying 2008-01-30 138 10bce8410 Borislav Petkov 2017-02-27 139 dbp = debugfs_create_dir("boot_params", arch_debugfs_dir); 390cd85c8 Jaswinder Singh Rajput 2009-03-21 140 05f6bcf90 Greg Kroah-Hartman 2018-05-30 141 debugfs_create_x16("version", S_IRUGO, dbp, &boot_params.hdr.version); 05f6bcf90 Greg Kroah-Hartman 2018-05-30 142 debugfs_create_blob("data", S_IRUGO, dbp, &boot_params_blob); 390cd85c8 Jaswinder Singh Rajput 2009-03-21 143 c14b2adf1 Huang, Ying 2008-03-28 144 error = create_setup_data_nodes(dbp); c14b2adf1 Huang, Ying 2008-03-28 145 if (error) c14b2adf1 Huang, Ying 2008-03-28 @146 goto err_data; 390cd85c8 Jaswinder Singh Rajput 2009-03-21 147 6d7d74337 Huang, Ying 2008-01-30 148 return 0; c14b2adf1 Huang, Ying 2008-03-28 149 6d7d74337 Huang, Ying 2008-01-30 @150 err_dir: 05f6bcf90 Greg Kroah-Hartman 2018-05-30 151 debugfs_remove_recursive(dbp); 6d7d74337 Huang, Ying 2008-01-30 152 return error; 6d7d74337 Huang, Ying 2008-01-30 153 } 390cd85c8 Jaswinder Singh Rajput 2009-03-21 154 #endif /* CONFIG_DEBUG_BOOT_PARAMS */ 6d7d74337 Huang, Ying 2008-01-30 155 :::::: The code at line 146 was first introduced by commit :::::: c14b2adf19b5d35aff91280b1a73c41a4dcabfe3 x86, boot: export linked list of struct setup_data via debugfs :::::: TO: Huang, Ying <ying.huang@xxxxxxxxx> :::::: CC: Ingo Molnar <mingo@xxxxxxx> --- 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