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: <202210020959.qYQUPvvu-lkp@intel.com>
Date:   Sun, 2 Oct 2022 09:18:36 +0800
From:   kernel test robot <lkp@...el.com>
To:     Dmitry Osipenko <digetx@...il.com>
Cc:     kbuild-all@...ts.01.org, Ammar Faizi <ammarfaizi2@...weeb.org>,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org, Sasha Levin <sashal@...nel.org>,
        Takashi Iwai <tiwai@...e.de>
Subject: [ammarfaizi2-block:stable/linux-stable-rc/queue/4.19 24/42]
 sound/pci/hda/hda_tegra.c:346:15: error: implicit declaration of function
 'hda_tegra_enable_clocks'

tree:   https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/4.19
head:   33d36daaa2310f4dcab3e5e03f0b269e85ec5008
commit: c41fd3d1e30fdfe6094bf3430d68f1cdb9a906f8 [24/42] ALSA: hda/tegra: Use clk_bulk helpers
config: arm-defconfig
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/ammarfaizi2/linux-block/commit/c41fd3d1e30fdfe6094bf3430d68f1cdb9a906f8
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/4.19
        git checkout c41fd3d1e30fdfe6094bf3430d68f1cdb9a906f8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash sound/pci/hda/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   sound/pci/hda/hda_tegra.c: In function 'hda_tegra_init_chip':
>> sound/pci/hda/hda_tegra.c:346:15: error: implicit declaration of function 'hda_tegra_enable_clocks' [-Werror=implicit-function-declaration]
     346 |         err = hda_tegra_enable_clocks(hda);
         |               ^~~~~~~~~~~~~~~~~~~~~~~
   sound/pci/hda/hda_tegra.c: In function 'hda_tegra_first_init':
   sound/pci/hda/hda_tegra.c:394:37: error: 'np' undeclared (first use in this function); did you mean 'up'?
     394 |         if (of_device_is_compatible(np, "nvidia,tegra194-hda")) {
         |                                     ^~
         |                                     up
   sound/pci/hda/hda_tegra.c:394:37: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors


vim +/hda_tegra_enable_clocks +346 sound/pci/hda/hda_tegra.c

3c320f3f564966 Dylan Reid           2014-05-19  329  
3c320f3f564966 Dylan Reid           2014-05-19  330  static int hda_tegra_init_chip(struct azx *chip, struct platform_device *pdev)
3c320f3f564966 Dylan Reid           2014-05-19  331  {
3c320f3f564966 Dylan Reid           2014-05-19  332  	struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip);
a41d122449bea3 Takashi Iwai         2015-04-14  333  	struct hdac_bus *bus = azx_bus(chip);
3c320f3f564966 Dylan Reid           2014-05-19  334  	struct device *dev = hda->dev;
3c320f3f564966 Dylan Reid           2014-05-19  335  	struct resource *res;
3c320f3f564966 Dylan Reid           2014-05-19  336  	int err;
3c320f3f564966 Dylan Reid           2014-05-19  337  
3c320f3f564966 Dylan Reid           2014-05-19  338  	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
3c320f3f564966 Dylan Reid           2014-05-19  339  	hda->regs = devm_ioremap_resource(dev, res);
93ceaa303b2946 Eliot Blennerhassett 2015-02-14  340  	if (IS_ERR(hda->regs))
93ceaa303b2946 Eliot Blennerhassett 2015-02-14  341  		return PTR_ERR(hda->regs);
3c320f3f564966 Dylan Reid           2014-05-19  342  
a41d122449bea3 Takashi Iwai         2015-04-14  343  	bus->remap_addr = hda->regs + HDA_BAR0;
a41d122449bea3 Takashi Iwai         2015-04-14  344  	bus->addr = res->start + HDA_BAR0;
3c320f3f564966 Dylan Reid           2014-05-19  345  
3c320f3f564966 Dylan Reid           2014-05-19 @346  	err = hda_tegra_enable_clocks(hda);
6a464a4ccb674a Thierry Reding       2015-05-05  347  	if (err) {
6a464a4ccb674a Thierry Reding       2015-05-05  348  		dev_err(dev, "failed to get enable clocks\n");
3c320f3f564966 Dylan Reid           2014-05-19  349  		return err;
6a464a4ccb674a Thierry Reding       2015-05-05  350  	}
3c320f3f564966 Dylan Reid           2014-05-19  351  
3c320f3f564966 Dylan Reid           2014-05-19  352  	hda_tegra_init(hda);
3c320f3f564966 Dylan Reid           2014-05-19  353  
3c320f3f564966 Dylan Reid           2014-05-19  354  	return 0;
3c320f3f564966 Dylan Reid           2014-05-19  355  }
3c320f3f564966 Dylan Reid           2014-05-19  356  

:::::: The code at line 346 was first introduced by commit
:::::: 3c320f3f5649667874d754e59bdd84dab185fe04 ALSA: hda - Add driver for Tegra SoC HDA

:::::: TO: Dylan Reid <dgreid@...omium.org>
:::::: CC: Takashi Iwai <tiwai@...e.de>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (193561 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ