From: kbuild test robot <lkp@intel.com> Cc: kbuild-all@01.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Arnd Bergmann <arnd@arndb.de>, Sujeev Dias <sdias@codeaurora.org>, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Tony Truong <truong@codeaurora.org> Subject: Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface Date: Sat, 28 Apr 2018 10:52:35 +0800 [thread overview] Message-ID: <201804280814.3ApIg5hj%fengguang.wu@intel.com> (raw) In-Reply-To: <1524795811-21399-2-git-send-email-sdias@codeaurora.org> [-- Attachment #1: Type: text/plain, Size: 2324 bytes --] Hi Sujeev, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc2 next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sujeev-Dias/mhi_bus-core-Add-support-for-MHI-host-interface/20180428-065959 config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc64 All error/warnings (new ones prefixed by >>): drivers/bus/mhi/core/mhi_dtr.c: In function 'mhi_ioctl': >> drivers/bus/mhi/core/mhi_dtr.c:108:9: error: implicit declaration of function 'get_user'; did you mean 'get_super'? [-Werror=implicit-function-declaration] ret = get_user(tiocm, (u32 *)arg); ^~~~~~~~ get_super >> drivers/bus/mhi/core/mhi_dtr.c:108:7: warning: 'tiocm' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = get_user(tiocm, (u32 *)arg); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +108 drivers/bus/mhi/core/mhi_dtr.c 90 91 long mhi_ioctl(struct mhi_device *mhi_dev, unsigned int cmd, unsigned long arg) 92 { 93 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; 94 struct mhi_chan *mhi_chan = mhi_dev->ul_chan; 95 int ret; 96 97 /* ioctl not supported by this controller */ 98 if (!mhi_cntrl->dtr_dev) 99 return -EIO; 100 101 switch (cmd) { 102 case TIOCMGET: 103 return mhi_chan->tiocm; 104 case TIOCMSET: 105 { 106 u32 tiocm; 107 > 108 ret = get_user(tiocm, (u32 *)arg); 109 if (ret) 110 return ret; 111 112 return mhi_dtr_tiocmset(mhi_cntrl, mhi_chan, tiocm); 113 } 114 default: 115 break; 116 } 117 118 return -EINVAL; 119 } 120 EXPORT_SYMBOL(mhi_ioctl); 121 --- 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: 53272 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> To: Sujeev Dias <sdias@codeaurora.org> Cc: kbuild-all@01.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Arnd Bergmann <arnd@arndb.de>, Sujeev Dias <sdias@codeaurora.org>, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Tony Truong <truong@codeaurora.org> Subject: Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface Date: Sat, 28 Apr 2018 10:52:35 +0800 [thread overview] Message-ID: <201804280814.3ApIg5hj%fengguang.wu@intel.com> (raw) In-Reply-To: <1524795811-21399-2-git-send-email-sdias@codeaurora.org> [-- Attachment #1: Type: text/plain, Size: 2324 bytes --] Hi Sujeev, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc2 next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sujeev-Dias/mhi_bus-core-Add-support-for-MHI-host-interface/20180428-065959 config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc64 All error/warnings (new ones prefixed by >>): drivers/bus/mhi/core/mhi_dtr.c: In function 'mhi_ioctl': >> drivers/bus/mhi/core/mhi_dtr.c:108:9: error: implicit declaration of function 'get_user'; did you mean 'get_super'? [-Werror=implicit-function-declaration] ret = get_user(tiocm, (u32 *)arg); ^~~~~~~~ get_super >> drivers/bus/mhi/core/mhi_dtr.c:108:7: warning: 'tiocm' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = get_user(tiocm, (u32 *)arg); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +108 drivers/bus/mhi/core/mhi_dtr.c 90 91 long mhi_ioctl(struct mhi_device *mhi_dev, unsigned int cmd, unsigned long arg) 92 { 93 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; 94 struct mhi_chan *mhi_chan = mhi_dev->ul_chan; 95 int ret; 96 97 /* ioctl not supported by this controller */ 98 if (!mhi_cntrl->dtr_dev) 99 return -EIO; 100 101 switch (cmd) { 102 case TIOCMGET: 103 return mhi_chan->tiocm; 104 case TIOCMSET: 105 { 106 u32 tiocm; 107 > 108 ret = get_user(tiocm, (u32 *)arg); 109 if (ret) 110 return ret; 111 112 return mhi_dtr_tiocmset(mhi_cntrl, mhi_chan, tiocm); 113 } 114 default: 115 break; 116 } 117 118 return -EINVAL; 119 } 120 EXPORT_SYMBOL(mhi_ioctl); 121 --- 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: 53272 bytes --]
next prev parent reply other threads:[~2018-04-28 2:52 UTC|newest] Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-04-27 2:23 MHI initial design review Sujeev Dias 2018-04-27 2:23 ` [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface Sujeev Dias 2018-04-27 7:22 ` Greg Kroah-Hartman 2018-04-28 14:28 ` Sujeev Dias 2018-04-28 15:50 ` Greg Kroah-Hartman 2018-04-27 7:23 ` Greg Kroah-Hartman 2018-04-27 12:18 ` Arnd Bergmann 2018-04-28 16:08 ` Sujeev Dias 2018-04-28 0:28 ` kbuild test robot 2018-04-28 0:28 ` kbuild test robot 2018-04-28 2:52 ` kbuild test robot [this message] 2018-04-28 2:52 ` kbuild test robot 2018-05-03 19:21 ` Pavel Machek 2018-05-04 3:05 ` Sujeev Dias 2018-06-22 23:03 ` Randy Dunlap 2018-04-27 2:23 ` [PATCH v1 2/4] mhi_bus: controller: MHI support for QCOM modems Sujeev Dias 2018-04-27 11:32 ` Arnd Bergmann 2018-04-28 15:40 ` Sujeev Dias 2018-04-28 3:05 ` kbuild test robot 2018-04-28 3:05 ` kbuild test robot 2018-04-28 3:12 ` kbuild test robot 2018-04-28 3:12 ` kbuild test robot 2018-04-27 2:23 ` [PATCH v1 3/4] mhi_bus: dev: netdev: add network interface driver Sujeev Dias 2018-04-27 11:19 ` Arnd Bergmann 2018-04-28 15:25 ` Sujeev Dias 2018-04-27 2:23 ` [PATCH v1 4/4] mhi_bus: dev: uci: add user space " Sujeev Dias 2018-04-27 11:36 ` Arnd Bergmann 2018-04-28 1:03 ` kbuild test robot 2018-04-28 1:03 ` kbuild test robot 2018-04-28 5:16 ` [PATCH] mhi_bus: dev: uci: fix semicolon.cocci warnings kbuild test robot 2018-04-28 5:16 ` kbuild test robot 2018-04-28 5:16 ` [PATCH v1 4/4] mhi_bus: dev: uci: add user space interface driver kbuild test robot 2018-04-28 5:16 ` kbuild test robot 2018-07-09 20:08 ` MHI code review Sujeev Dias 2018-07-09 20:08 ` [PATCH v2 1/7] mhi_bus: core: initial checkin for modem host interface bus driver Sujeev Dias 2018-07-09 20:50 ` Greg Kroah-Hartman 2018-07-09 20:52 ` Greg Kroah-Hartman 2018-07-10 6:36 ` Greg Kroah-Hartman 2018-07-11 19:30 ` Rob Herring 2018-08-09 18:39 ` Randy Dunlap 2018-07-09 20:08 ` [PATCH v2 2/7] mhi_bus: core: add power management support Sujeev Dias 2018-07-09 20:08 ` [PATCH v2 3/7] mhi_bus: core: add support for data transfer Sujeev Dias 2018-07-10 6:29 ` Greg Kroah-Hartman 2018-07-09 20:08 ` [PATCH v2 4/7] mhi_bus: core: add support for handling ioctl cmds Sujeev Dias 2018-07-09 20:08 ` [PATCH v2 5/7] mhi_bus: core: add support to get external modem time Sujeev Dias 2018-07-11 19:32 ` Rob Herring 2018-08-09 20:17 ` Randy Dunlap 2018-07-09 20:08 ` [PATCH v2 6/7] mhi_bus: controller: MHI support for QCOM modems Sujeev Dias 2018-07-11 19:36 ` Rob Herring 2018-07-09 20:08 ` [PATCH v2 7/7] mhi_bus: dev: uci: add user space interface driver Sujeev Dias 2019-04-30 15:10 ` MHI code review Daniele Palmas 2019-06-12 17:54 ` Sujeev Dias 2019-06-12 20:58 ` Daniele Palmas 2019-06-12 18:00 ` Sujeev Dias
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=201804280814.3ApIg5hj%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=arnd@arndb.de \ --cc=gregkh@linuxfoundation.org \ --cc=kbuild-all@01.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=sdias@codeaurora.org \ --cc=truong@codeaurora.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.