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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201709290311.qWK9tLUF%fengguang.wu@intel.com>
Date:   Fri, 29 Sep 2017 03:16:15 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Philipp Zabel <p.zabel@...gutronix.de>
Subject: drivers/reset/reset-hsdk-v1.c:101: undefined reference to
 `devm_ioremap_resource'

Hi Eugeniy,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9cd6681cb1169e815c41af0265165dd1b872f228
commit: e0be864f14240cb1bd92247a672796239d6ef2fa ARC: reset: introduce HSDKv1 reset driver
date:   2 months ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout e0be864f14240cb1bd92247a672796239d6ef2fa
        # save the attached .config to linux build tree
        make ARCH=um 

All errors (new ones prefixed by >>):

   arch/um/drivers/vde.o: In function `vde_open_real':
   (.text+0xfb1): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/vde.o: In function `vde_open_real':
   (.text+0xdfc): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/vde.o: In function `vde_open_real':
   (.text+0x1115): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/pcap.o: In function `pcap_nametoaddr':
   (.text+0xe475): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/pcap.o: In function `pcap_nametonetaddr':
   (.text+0xe515): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/pcap.o: In function `pcap_nametoproto':
   (.text+0xe735): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/pcap.o: In function `pcap_nametoport':
   (.text+0xe567): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
   drivers/reset/reset-hsdk-v1.o: In function `hsdkv1_reset_probe':
>> drivers/reset/reset-hsdk-v1.c:101: undefined reference to `devm_ioremap_resource'
   drivers/reset/reset-hsdk-v1.c:106: undefined reference to `devm_ioremap_resource'
   collect2: error: ld returned 1 exit status

vim +101 drivers/reset/reset-hsdk-v1.c

    90	
    91	static int hsdkv1_reset_probe(struct platform_device *pdev)
    92	{
    93		struct hsdkv1_rst *rst;
    94		struct resource *mem;
    95	
    96		rst = devm_kzalloc(&pdev->dev, sizeof(*rst), GFP_KERNEL);
    97		if (!rst)
    98			return -ENOMEM;
    99	
   100		mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 > 101		rst->regs_ctl = devm_ioremap_resource(&pdev->dev, mem);
   102		if (IS_ERR(rst->regs_ctl))
   103			return PTR_ERR(rst->regs_ctl);
   104	
   105		mem = platform_get_resource(pdev, IORESOURCE_MEM, 1);
   106		rst->regs_rst = devm_ioremap_resource(&pdev->dev, mem);
   107		if (IS_ERR(rst->regs_rst))
   108			return PTR_ERR(rst->regs_rst);
   109	
   110		spin_lock_init(&rst->lock);
   111	
   112		rst->rcdev.owner = THIS_MODULE;
   113		rst->rcdev.ops = &hsdkv1_reset_ops;
   114		rst->rcdev.of_node = pdev->dev.of_node;
   115		rst->rcdev.nr_resets = HSDK_MAX_RESETS;
   116		rst->rcdev.of_reset_n_cells = 1;
   117	
   118		return reset_controller_register(&rst->rcdev);
   119	}
   120	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (19664 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ