linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/regulator/ti-abb-regulator.c:169: warning: expecting prototype for ti_abb_wait_tranx(). Prototype was for ti_abb_wait_txdone() instead
@ 2021-11-08  4:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-08  4:17 UTC (permalink / raw)
  To: Cai Huoqing; +Cc: kbuild-all, linux-kernel, Mark Brown

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

Hi Cai,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6b75d88fa81b122cce37ebf17428a849ccd3d0f1
commit: b36061c2ea5bdacf51305f8bc79f29595b343eb6 regulator: ti-abb: Kconfig: Add helper dependency on COMPILE_TEST
date:   8 weeks ago
config: h8300-randconfig-r035-20210929 (attached as .config)
compiler: h8300-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b36061c2ea5bdacf51305f8bc79f29595b343eb6
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b36061c2ea5bdacf51305f8bc79f29595b343eb6
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/regulator/

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/regulator/ti-abb-regulator.c:169: warning: expecting prototype for ti_abb_wait_tranx(). Prototype was for ti_abb_wait_txdone() instead


vim +169 drivers/regulator/ti-abb-regulator.c

40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  160  
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  161  /**
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  162   * ti_abb_wait_tranx() - waits for ABB tranxdone event
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  163   * @dev:	device
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  164   * @abb:	pointer to the abb instance
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  165   *
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  166   * Return: 0 on success or -ETIMEDOUT if the event is not cleared on time.
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  167   */
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  168  static int ti_abb_wait_txdone(struct device *dev, struct ti_abb *abb)
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02 @169  {
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  170  	int timeout = 0;
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  171  	bool status;
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  172  
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  173  	while (timeout++ <= abb->settling_time) {
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  174  		status = ti_abb_check_txdone(abb);
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  175  		if (status)
f64db548799e03 Axel Lin           2019-09-29  176  			return 0;
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  177  
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  178  		udelay(1);
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  179  	}
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  180  
f64db548799e03 Axel Lin           2019-09-29  181  	dev_warn_ratelimited(dev, "%s:TRANXDONE timeout(%duS) int=0x%08x\n",
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  182  			     __func__, timeout, readl(abb->int_base));
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  183  	return -ETIMEDOUT;
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  184  }
40b1936efebdb9 Andrii.Tseglytskyi 2013-05-02  185  

:::::: The code at line 169 was first introduced by commit
:::::: 40b1936efebdb9c31d9ed6fe59055f71ea366509 regulator: Introduce TI Adaptive Body Bias(ABB) on-chip LDO driver

:::::: TO: Andrii.Tseglytskyi <andrii.tseglytskyi@ti.com>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-08  4:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08  4:17 drivers/regulator/ti-abb-regulator.c:169: warning: expecting prototype for ti_abb_wait_tranx(). Prototype was for ti_abb_wait_txdone() instead kernel test robot

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).