mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mohan Kumar <mkumard@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Mark Brown <broonie@kernel.org>, Sameer Pujar <spujar@nvidia.com>
Subject: sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_parse_convert'
Date: Tue, 23 Jul 2024 01:33:23 +0800	[thread overview]
Message-ID: <202407230154.Bazhs02X-lkp@intel.com> (raw)

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@intel.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

                 reply	other threads:[~2024-07-22 17:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202407230154.Bazhs02X-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkumard@nvidia.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=spujar@nvidia.com \
    /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

all inboxes | Powered by JetHome®