linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mayank Suman <mayanksuman@live.com>,
	gregkh@linuxfoundation.org, sfr@canb.auug.org.au,
	dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	linux-kernel-mentees@lists.linuxfoundation.org
Cc: kbuild-all@lists.01.org
Subject: Re: [PATCH] staging: fbtft replaced udelay with usleep_range
Date: Fri, 5 Feb 2021 19:42:45 +0800	[thread overview]
Message-ID: <202102051909.gyvLuQg1-lkp@intel.com> (raw)
In-Reply-To: <PS1PR04MB29341C7117657B1F312444FBD6B29@PS1PR04MB2934.apcprd04.prod.outlook.com>

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

Hi Mayank,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on staging/staging-testing]

url:    https://github.com/0day-ci/linux/commits/Mayank-Suman/staging-fbtft-replaced-udelay-with-usleep_range/20210205-171807
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 06b0c0dce88e2aa2f01343db0f26d214d7f264a0
config: alpha-allmodconfig (attached as .config)
compiler: alpha-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/4a777af1cc91dc603b6b92fe06fd94081dc2891e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Mayank-Suman/staging-fbtft-replaced-udelay-with-usleep_range/20210205-171807
        git checkout 4a777af1cc91dc603b6b92fe06fd94081dc2891e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

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/staging/fbtft/fb_agm1264k-fl.c: In function 'reset':
>> drivers/staging/fbtft/fb_agm1264k-fl.c:88:2: error: too few arguments to function 'usleep_range'
      88 |  usleep_range(20);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_agm1264k-fl.c:12:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
--
   drivers/staging/fbtft/fb_ra8875.c: In function 'write_reg8_bus8':
>> drivers/staging/fbtft/fb_ra8875.c:220:2: error: too few arguments to function 'usleep_range'
     220 |  usleep_range(100);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_ra8875.c:10:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_ra8875.c:241:2: error: too few arguments to function 'usleep_range'
     241 |  usleep_range(100);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_ra8875.c:10:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
--
   drivers/staging/fbtft/fb_tinylcd.c: In function 'init_display':
>> drivers/staging/fbtft/fb_tinylcd.c:44:2: error: too few arguments to function 'usleep_range'
      44 |  usleep_range(250);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_tinylcd.c:11:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
--
   drivers/staging/fbtft/fb_upd161704.c: In function 'init_display':
>> drivers/staging/fbtft/fb_upd161704.c:39:2: error: too few arguments to function 'usleep_range'
      39 |  usleep_range(100);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:43:2: error: too few arguments to function 'usleep_range'
      43 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:46:2: error: too few arguments to function 'usleep_range'
      46 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:49:2: error: too few arguments to function 'usleep_range'
      49 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:52:2: error: too few arguments to function 'usleep_range'
      52 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:55:2: error: too few arguments to function 'usleep_range'
      55 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:57:2: error: too few arguments to function 'usleep_range'
      57 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:59:2: error: too few arguments to function 'usleep_range'
      59 |  usleep_range(10);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_upd161704.c:67:2: error: too few arguments to function 'usleep_range'
      67 |  usleep_range(200);
         |  ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_upd161704.c:16:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
--
   drivers/staging/fbtft/fb_watterott.c: In function 'write_vmem':
>> drivers/staging/fbtft/fb_watterott.c:87:3: error: too few arguments to function 'usleep_range'
      87 |   usleep_range(300);
         |   ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_watterott.c:12:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~
   drivers/staging/fbtft/fb_watterott.c: In function 'write_vmem_8bit':
   drivers/staging/fbtft/fb_watterott.c:127:3: error: too few arguments to function 'usleep_range'
     127 |   usleep_range(700);
         |   ^~~~~~~~~~~~
   In file included from drivers/staging/fbtft/fb_watterott.c:12:
   include/linux/delay.h:61:6: note: declared here
      61 | void usleep_range(unsigned long min, unsigned long max);
         |      ^~~~~~~~~~~~


vim +/usleep_range +88 drivers/staging/fbtft/fb_agm1264k-fl.c

    79	
    80	static void reset(struct fbtft_par *par)
    81	{
    82		if (!par->gpio.reset)
    83			return;
    84	
    85		dev_dbg(par->info->device, "%s()\n", __func__);
    86	
    87		gpiod_set_value(par->gpio.reset, 0);
  > 88		usleep_range(20);
    89		gpiod_set_value(par->gpio.reset, 1);
    90		mdelay(120);
    91	}
    92	

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

  parent reply	other threads:[~2021-02-05 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-05  9:11 [PATCH] staging: fbtft replaced udelay with usleep_range Mayank Suman
2021-02-05  9:32 ` Greg KH
2021-02-05 11:42 ` kernel test robot [this message]
2021-02-05 12:33 ` 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=202102051909.gyvLuQg1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mayanksuman@live.com \
    --cc=sfr@canb.auug.org.au \
    /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).