All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH V2] mmc: sdhci: Update the software timeout value for sdhc
Date: Mon, 28 Jun 2021 01:05:17 +0800	[thread overview]
Message-ID: <202106280050.O9Wbh9hv-lkp@intel.com> (raw)
In-Reply-To: <1624804840-3479-1-git-send-email-sbhanu@codeaurora.org>

[-- Attachment #1: Type: text/plain, Size: 2258 bytes --]

Hi Shaik,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.13-rc7 next-20210625]
[cannot apply to ulf.hansson-mmc/next mmc/mmc-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Shaik-Sajida-Bhanu/mmc-sdhci-Update-the-software-timeout-value-for-sdhc/20210627-224156
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 625acffd7ae2c52898d249e6c5c39f348db0d8df
config: m68k-allmodconfig (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
        # https://github.com/0day-ci/linux/commit/ee7ea08b7e3f660ca8a04f777aeabcb0962f1668
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Shaik-Sajida-Bhanu/mmc-sdhci-Update-the-software-timeout-value-for-sdhc/20210627-224156
        git checkout ee7ea08b7e3f660ca8a04f777aeabcb0962f1668
        # 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/mmc/host/sdhci-msm.c: In function 'sdhci_msm_set_timeout':
>> drivers/mmc/host/sdhci-msm.c:2097:27: warning: integer overflow in expression of type 'long int' results in '525163520' [-Woverflow]
    2097 |   host->data_timeout = 22 * NSEC_PER_SEC;
         |                           ^


vim +2097 drivers/mmc/host/sdhci-msm.c

  2094	
  2095		__sdhci_set_timeout(host, cmd);
  2096		if (cmd && (cmd->data) && (host->clock > 400000) && (host->clock <= 50000000))
> 2097			host->data_timeout = 22 * NSEC_PER_SEC;
  2098	}
  2099	

---
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: 60475 bytes --]

  reply	other threads:[~2021-06-27 17:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-27 14:40 [PATCH V2] mmc: sdhci: Update the software timeout value for sdhc Shaik Sajida Bhanu
2021-06-27 17:05 ` kernel test robot [this message]
2021-06-28  6:39 ` kernel test robot
2021-06-30 14:08 ` Adrian Hunter
2021-07-01 16:58   ` sbhanu
2021-07-05 14:09     ` sbhanu
2021-07-07 18:03       ` Adrian Hunter

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=202106280050.O9Wbh9hv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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: link
Be 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.