lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202503300554.KEiONTXz-lkp@intel.com>
Date: Sun, 30 Mar 2025 05:49:34 +0800
From: kernel test robot <lkp@...el.com>
To: Biju Das <biju.das.jz@...renesas.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Ulf Hansson <ulf.hansson@...aro.org>,
	Wolfram Sang <wsa-dev@...g-engineering.com>
Subject: drivers/mmc/host/renesas_sdhi_core.c:973:undefined reference to
 `rdev_get_drvdata'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   883ab4e47c2b514696922243e1d84b7ac36f9d3c
commit: fae80a99dc0320be854aa789cbe7ed0e1e574c61 mmc: renesas_sdhi: Add support for RZ/G3E SoC
date:   2 weeks ago
config: parisc-randconfig-002-20250330 (https://download.01.org/0day-ci/archive/20250330/202503300554.KEiONTXz-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250330/202503300554.KEiONTXz-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503300554.KEiONTXz-lkp@intel.com/

All errors (new ones prefixed by >>):

   hppa-linux-ld: drivers/mmc/host/renesas_sdhi_core.o: in function `renesas_sdhi_regulator_set_voltage':
>> drivers/mmc/host/renesas_sdhi_core.c:973:(.text+0x1c40): undefined reference to `rdev_get_drvdata'
   hppa-linux-ld: drivers/mmc/host/renesas_sdhi_core.o: in function `renesas_sdhi_regulator_enable':
   drivers/mmc/host/renesas_sdhi_core.c:939:(.text+0x1cdc): undefined reference to `rdev_get_drvdata'
   hppa-linux-ld: drivers/mmc/host/renesas_sdhi_core.o: in function `renesas_sdhi_regulator_disable':
   drivers/mmc/host/renesas_sdhi_core.c:927:(.text+0x1d38): undefined reference to `rdev_get_drvdata'
   hppa-linux-ld: drivers/mmc/host/renesas_sdhi_core.o: in function `renesas_sdhi_regulator_get_voltage':
   drivers/mmc/host/renesas_sdhi_core.c:961:(.text+0x1d90): undefined reference to `rdev_get_drvdata'
   hppa-linux-ld: drivers/mmc/host/renesas_sdhi_core.o: in function `renesas_sdhi_regulator_is_enabled':
   drivers/mmc/host/renesas_sdhi_core.c:951:(.text+0x1de0): undefined reference to `rdev_get_drvdata'
   hppa-linux-ld: drivers/mmc/host/renesas_sdhi_core.o: in function `renesas_sdhi_probe':
>> drivers/mmc/host/renesas_sdhi_core.c:1177:(.text+0x24a0): undefined reference to `devm_regulator_register'


vim +973 drivers/mmc/host/renesas_sdhi_core.c

   968	
   969	static int renesas_sdhi_regulator_set_voltage(struct regulator_dev *rdev,
   970						      int min_uV, int max_uV,
   971						      unsigned int *selector)
   972	{
 > 973		struct tmio_mmc_host *host = rdev_get_drvdata(rdev);
   974		u32 sd_status;
   975	
   976		sd_status = sd_ctrl_read32(host, CTL_SD_STATUS);
   977		if (min_uV >= 1700000 && max_uV <= 1950000) {
   978			sd_status |= SD_STATUS_IOVS;
   979			*selector = 1;
   980		} else {
   981			sd_status &= ~SD_STATUS_IOVS;
   982			*selector = 0;
   983		}
   984		sd_ctrl_write32(host, CTL_SD_STATUS, sd_status);
   985	
   986		return 0;
   987	}
   988	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ