From: kernel test robot <lkp@intel.com> To: Chunfeng Yun <chunfeng.yun@mediatek.com> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: use of undeclared identifier 'usb_debug_root' Date: Sun, 21 Jun 2020 06:51:51 +0800 [thread overview] Message-ID: <202006210647.nRWtio54%lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 2122 bytes --] tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 commit: a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8 usb: gadget: bcm63xx_udc: create debugfs directory under usb root date: 7 months ago config: mips-randconfig-r015-20200621 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f5bbe390d23d7da0ffb110cdb24b583c2dc87eba) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu git checkout a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): >> drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: use of undeclared identifier 'usb_debug_root' root = debugfs_create_dir(udc->gadget.name, usb_debug_root); ^ 1 error generated. vim +/usb_debug_root +2251 drivers/usb/gadget/udc/bcm63xx_udc.c 2239 2240 /** 2241 * bcm63xx_udc_init_debugfs - Create debugfs entries. 2242 * @udc: Reference to the device controller. 2243 */ 2244 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc) 2245 { 2246 struct dentry *root; 2247 2248 if (!IS_ENABLED(CONFIG_USB_GADGET_DEBUG_FS)) 2249 return; 2250 > 2251 root = debugfs_create_dir(udc->gadget.name, usb_debug_root); 2252 udc->debugfs_root = root; 2253 2254 debugfs_create_file("usbd", 0400, root, udc, &bcm63xx_usbd_dbg_fops); 2255 debugfs_create_file("iudma", 0400, root, udc, &bcm63xx_iudma_dbg_fops); 2256 } 2257 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 28672 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: use of undeclared identifier 'usb_debug_root' Date: Sun, 21 Jun 2020 06:51:51 +0800 [thread overview] Message-ID: <202006210647.nRWtio54%lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 2174 bytes --] tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 commit: a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8 usb: gadget: bcm63xx_udc: create debugfs directory under usb root date: 7 months ago config: mips-randconfig-r015-20200621 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f5bbe390d23d7da0ffb110cdb24b583c2dc87eba) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu git checkout a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): >> drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: use of undeclared identifier 'usb_debug_root' root = debugfs_create_dir(udc->gadget.name, usb_debug_root); ^ 1 error generated. vim +/usb_debug_root +2251 drivers/usb/gadget/udc/bcm63xx_udc.c 2239 2240 /** 2241 * bcm63xx_udc_init_debugfs - Create debugfs entries. 2242 * @udc: Reference to the device controller. 2243 */ 2244 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc) 2245 { 2246 struct dentry *root; 2247 2248 if (!IS_ENABLED(CONFIG_USB_GADGET_DEBUG_FS)) 2249 return; 2250 > 2251 root = debugfs_create_dir(udc->gadget.name, usb_debug_root); 2252 udc->debugfs_root = root; 2253 2254 debugfs_create_file("usbd", 0400, root, udc, &bcm63xx_usbd_dbg_fops); 2255 debugfs_create_file("iudma", 0400, root, udc, &bcm63xx_iudma_dbg_fops); 2256 } 2257 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 28672 bytes --]
next reply other threads:[~2020-06-20 23:14 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-20 22:51 kernel test robot [this message] 2020-06-20 22:51 ` drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: use of undeclared identifier 'usb_debug_root' kernel test robot
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=202006210647.nRWtio54%lkp@intel.com \ --to=lkp@intel.com \ --cc=chunfeng.yun@mediatek.com \ --cc=clang-built-linux@googlegroups.com \ --cc=gregkh@linuxfoundation.org \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.