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: <202407230154.Bazhs02X-lkp@intel.com>
Date: Tue, 23 Jul 2024 01:33:23 +0800
From: kernel test robot <lkp@...el.com>
To: Mohan Kumar <mkumard@...dia.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Mark Brown <broonie@...nel.org>, Sameer Pujar <spujar@...dia.com>
Subject: sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): relocation
 truncated to fit: R_NIOS2_CALL26 against `simple_util_parse_convert'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   933069701c1b507825b514317d4edd5d3fd9d417
commit: 2502f8dd8c30edbca9253d5999294f58211039b1 ASoC: tegra: I2S client convert formats handling
date:   8 weeks ago
config: nios2-buildonly-randconfig-r004-20230209 (https://download.01.org/0day-ci/archive/20240723/202407230154.Bazhs02X-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240723/202407230154.Bazhs02X-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/202407230154.Bazhs02X-lkp@intel.com/

All errors (new ones prefixed by >>):

   nios2-linux-ld: sound/soc/tegra/tegra210_i2s.o: in function `tegra210_i2s_probe':
   sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): undefined reference to `simple_util_parse_convert'
>> sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_parse_convert'
>> nios2-linux-ld: sound/soc/tegra/tegra210_i2s.c:932:(.text+0x51c): undefined reference to `simple_util_get_sample_fmt'
>> sound/soc/tegra/tegra210_i2s.c:932:(.text+0x51c): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_get_sample_fmt'


vim +922 sound/soc/tegra/tegra210_i2s.c

   900	
   901	/*
   902	 * The AHUB HW modules are interconnected with CIF which are capable of
   903	 * supporting Channel and Sample bit format conversion. This needs different
   904	 * CIF Audio and client configuration. As one of the config comes from
   905	 * params_channels() or params_format(), the extra configuration is passed from
   906	 * CIF Port of DT I2S node which can help to perform this conversion.
   907	 *
   908	 *    4ch          audio = 4ch      client = 2ch       2ch
   909	 *   -----> ADMAIF -----------> CIF -------------> I2S ---->
   910	 */
   911	static void tegra210_parse_client_convert(struct device *dev)
   912	{
   913		struct tegra210_i2s *i2s = dev_get_drvdata(dev);
   914		struct device_node *ports, *ep;
   915		struct simple_util_data data = {};
   916		int cif_port = 0;
   917	
   918		ports = of_get_child_by_name(dev->of_node, "ports");
   919		if (ports) {
   920			ep = of_graph_get_endpoint_by_regs(ports, cif_port, -1);
   921			if (ep) {
 > 922				simple_util_parse_convert(ep, NULL, &data);
   923				of_node_put(ep);
   924			}
   925			of_node_put(ports);
   926		}
   927	
   928		if (data.convert_channels)
   929			i2s->client_channels = data.convert_channels;
   930	
   931		if (data.convert_sample_format)
 > 932			i2s->client_sample_format = simple_util_get_sample_fmt(&data);
   933	}
   934	

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