From: kernel test robot <lkp@intel.com>
To: Akash Asthana <akashast@codeaurora.org>, gregkh@linuxfoundation.org
Cc: kbuild-all@lists.01.org, msavaliy@codeaurora.org,
saravanak@google.com, sspatil@google.com, tkjos@google.com,
linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org,
linux-kernel@vger.kernel.org,
Akash Asthana <akashast@codeaurora.org>
Subject: Re: [PATCH V6] serial: msm_geni_serial_console : Add Earlycon support
Date: Sun, 5 Jul 2020 14:10:56 +0800 [thread overview]
Message-ID: <202007051402.dpamHM3x%lkp@intel.com> (raw)
In-Reply-To: <1592820512-1225-1-git-send-email-akashast@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]
Hi Akash,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tty/tty-testing]
[also build test WARNING on usb/usb-testing v5.8-rc3 next-20200703]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Akash-Asthana/serial-msm_geni_serial_console-Add-Earlycon-support/20200622-181041
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: m68k-randconfig-r003-20200705 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/tty/serial/msm_geni_serial_console.c: In function 'msm_geni_serial_earlycon_setup':
>> drivers/tty/serial/msm_geni_serial_console.c:400:6: warning: variable 'rx_stale' set but not used [-Wunused-but-set-variable]
400 | u32 rx_stale = 0;
| ^~~~~~~~
>> drivers/tty/serial/msm_geni_serial_console.c:398:6: warning: variable 'rx_parity_cfg' set but not used [-Wunused-but-set-variable]
398 | u32 rx_parity_cfg = 0;
| ^~~~~~~~~~~~~
>> drivers/tty/serial/msm_geni_serial_console.c:397:6: warning: variable 'rx_trans_cfg' set but not used [-Wunused-but-set-variable]
397 | u32 rx_trans_cfg = 0;
| ^~~~~~~~~~~~
vim +/rx_stale +400 drivers/tty/serial/msm_geni_serial_console.c
388
389 static int __init
390 msm_geni_serial_earlycon_setup(struct earlycon_device *dev,
391 const char *opt)
392 {
393 struct uart_port *uport = &dev->port;
394 int ret = 0;
395 u32 tx_trans_cfg = 0;
396 u32 tx_parity_cfg = 0;
> 397 u32 rx_trans_cfg = 0;
> 398 u32 rx_parity_cfg = 0;
399 u32 stop_bit = 0;
> 400 u32 rx_stale = 0;
---
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: 20714 bytes --]
prev parent reply other threads:[~2020-07-05 6:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 10:08 [PATCH V6] serial: msm_geni_serial_console : Add Earlycon support Akash Asthana
2020-06-23 19:49 ` Bjorn Andersson
2020-07-08 14:36 ` Mukesh, Savaliya
2020-07-08 15:40 ` Greg KH
2020-07-05 6:10 ` kernel test robot [this message]
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=202007051402.dpamHM3x%lkp@intel.com \
--to=lkp@intel.com \
--cc=akashast@codeaurora.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=msavaliy@codeaurora.org \
--cc=saravanak@google.com \
--cc=sspatil@google.com \
--cc=tkjos@google.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).