tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing head: 3bd418f13312393093d17a312ec0033395d6892e commit: 921d5cbeb37c93581429fa2d721ec9c2a40a71f6 [22/31] debugfs: prevent access to removed files' private data config: powerpc-tqm5200_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 921d5cbeb37c93581429fa2d721ec9c2a40a71f6 # save the attached .config to linux build tree make.cross ARCH=powerpc All errors (new ones prefixed by >>): In file included from arch/powerpc/kernel/irq.c:54:0: >> include/linux/debugfs.h:185:12: error: 'debugfs_use_file_start' defined but not used [-Werror=unused-function] static int debugfs_use_file_start(const struct dentry *dentry, int *srcu_idx) ^ >> include/linux/debugfs.h:191:13: error: 'debugfs_use_file_finish' defined but not used [-Werror=unused-function] static void debugfs_use_file_finish(int srcu_idx) __releases(&debugfs_srcu) ^ cc1: all warnings being treated as errors vim +/debugfs_use_file_start +185 include/linux/debugfs.h 179 static inline void debugfs_remove(struct dentry *dentry) 180 { } 181 182 static inline void debugfs_remove_recursive(struct dentry *dentry) 183 { } 184 > 185 static int debugfs_use_file_start(const struct dentry *dentry, int *srcu_idx) 186 __acquires(&debugfs_srcu) 187 { 188 return 0; 189 } 190 > 191 static void debugfs_use_file_finish(int srcu_idx) __releases(&debugfs_srcu) 192 { } 193 194 static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel