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: <201602280838.bCjq624B%fengguang.wu@intel.com>
Date:	Sun, 28 Feb 2016 08:23:40 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Rob Herring <robh@...nel.org>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: drivers/mfd/syscon.c:89:2: error: implicit declaration of function
 'iounmap'

Hi Rob,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   691429e13dfaf5b0994b07cc166db41bd608ee3d
commit: 0166dc11be911213e0b1b764488c671be4c48cf3 of: make CONFIG_OF user selectable
date:   9 months ago
config: um-allyesconfig (attached as .config)
reproduce:
        git checkout 0166dc11be911213e0b1b764488c671be4c48cf3
        # save the attached .config to linux build tree
        make ARCH=um 

All errors (new ones prefixed by >>):

   drivers/mfd/syscon.c: In function 'of_syscon_register':
>> drivers/mfd/syscon.c:89:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^
   cc1: some warnings being treated as errors

vim +/iounmap +89 drivers/mfd/syscon.c

bdb0066d Pankaj Dubey 2014-09-30  73  	if (IS_ERR(regmap)) {
bdb0066d Pankaj Dubey 2014-09-30  74  		pr_err("regmap init failed\n");
bdb0066d Pankaj Dubey 2014-09-30  75  		ret = PTR_ERR(regmap);
bdb0066d Pankaj Dubey 2014-09-30  76  		goto err_regmap;
bdb0066d Pankaj Dubey 2014-09-30  77  	}
bdb0066d Pankaj Dubey 2014-09-30  78  
bdb0066d Pankaj Dubey 2014-09-30  79  	syscon->regmap = regmap;
bdb0066d Pankaj Dubey 2014-09-30  80  	syscon->np = np;
bdb0066d Pankaj Dubey 2014-09-30  81  
bdb0066d Pankaj Dubey 2014-09-30  82  	spin_lock(&syscon_list_slock);
bdb0066d Pankaj Dubey 2014-09-30  83  	list_add_tail(&syscon->list, &syscon_list);
bdb0066d Pankaj Dubey 2014-09-30  84  	spin_unlock(&syscon_list_slock);
87d68730 Dong Aisheng 2012-09-05  85  
bdb0066d Pankaj Dubey 2014-09-30  86  	return syscon;
bdb0066d Pankaj Dubey 2014-09-30  87  
bdb0066d Pankaj Dubey 2014-09-30  88  err_regmap:
bdb0066d Pankaj Dubey 2014-09-30 @89  	iounmap(base);
bdb0066d Pankaj Dubey 2014-09-30  90  err_map:
bdb0066d Pankaj Dubey 2014-09-30  91  	kfree(syscon);
bdb0066d Pankaj Dubey 2014-09-30  92  	return ERR_PTR(ret);
87d68730 Dong Aisheng 2012-09-05  93  }
87d68730 Dong Aisheng 2012-09-05  94  
87d68730 Dong Aisheng 2012-09-05  95  struct regmap *syscon_node_to_regmap(struct device_node *np)
87d68730 Dong Aisheng 2012-09-05  96  {
bdb0066d Pankaj Dubey 2014-09-30  97  	struct syscon *entry, *syscon = NULL;

:::::: The code at line 89 was first introduced by commit
:::::: bdb0066df96e74a4002125467ebe459feff1ebef mfd: syscon: Decouple syscon interface from platform devices

:::::: TO: Pankaj Dubey <pankaj.dubey@...sung.com>
:::::: CC: Lee Jones <lee.jones@...aro.org>

---
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/octet-stream" (15947 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ