linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-07-17  8:10 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-07-17  8:10 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Lee Jones, Philipp Zabel

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92d21ac74a9e3c09b0b01c764e530657e4c85c49
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   4 months ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17549 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-08-15 14:53 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-08-15 14:53 UTC (permalink / raw)
  To: Andy Yan
  Cc: kbuild-all, linux-kernel, Sebastian Reichel, Matthias Brugger,
	Moritz Fischer, Krzysztof Kozlowski

[-- Attachment #1: Type: text/plain, Size: 5067 bytes --]

Hi Andy,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   694d0d0bb2030d2e36df73e2d23d5770511dbc8d
commit: 4fcd504edbf7c793325511c2df8dcd083958e28a power: reset: add reboot mode driver
date:   6 weeks ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 4fcd504edbf7c793325511c2df8dcd083958e28a
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
>> drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

bdb0066d Pankaj Dubey  2014-09-30   61  
ca668f0e Philipp Zabel 2016-01-29   62  	if (of_address_to_resource(np, 0, &res)) {
ca668f0e Philipp Zabel 2016-01-29   63  		ret = -ENOMEM;
ca668f0e Philipp Zabel 2016-01-29   64  		goto err_map;
ca668f0e Philipp Zabel 2016-01-29   65  	}
ca668f0e Philipp Zabel 2016-01-29   66  
ca668f0e Philipp Zabel 2016-01-29  @67  	base = ioremap(res.start, resource_size(&res));
bdb0066d Pankaj Dubey  2014-09-30   68  	if (!base) {
bdb0066d Pankaj Dubey  2014-09-30   69  		ret = -ENOMEM;
bdb0066d Pankaj Dubey  2014-09-30   70  		goto err_map;
bdb0066d Pankaj Dubey  2014-09-30   71  	}
bdb0066d Pankaj Dubey  2014-09-30   72  
bdb0066d Pankaj Dubey  2014-09-30   73  	/* Parse the device's DT node for an endianness specification */
bdb0066d Pankaj Dubey  2014-09-30   74  	if (of_property_read_bool(np, "big-endian"))
bdb0066d Pankaj Dubey  2014-09-30   75  		syscon_config.val_format_endian = REGMAP_ENDIAN_BIG;
bdb0066d Pankaj Dubey  2014-09-30   76  	 else if (of_property_read_bool(np, "little-endian"))
bdb0066d Pankaj Dubey  2014-09-30   77  		syscon_config.val_format_endian = REGMAP_ENDIAN_LITTLE;
bdb0066d Pankaj Dubey  2014-09-30   78  
db2fb60c Damien Riegel 2015-11-30   79  	/*
db2fb60c Damien Riegel 2015-11-30   80  	 * search for reg-io-width property in DT. If it is not provided,
db2fb60c Damien Riegel 2015-11-30   81  	 * default to 4 bytes. regmap_init_mmio will return an error if values
db2fb60c Damien Riegel 2015-11-30   82  	 * are invalid so there is no need to check them here.
db2fb60c Damien Riegel 2015-11-30   83  	 */
db2fb60c Damien Riegel 2015-11-30   84  	ret = of_property_read_u32(np, "reg-io-width", &reg_io_width);
db2fb60c Damien Riegel 2015-11-30   85  	if (ret)
db2fb60c Damien Riegel 2015-11-30   86  		reg_io_width = 4;
db2fb60c Damien Riegel 2015-11-30   87  
db2fb60c Damien Riegel 2015-11-30   88  	syscon_config.reg_stride = reg_io_width;
db2fb60c Damien Riegel 2015-11-30   89  	syscon_config.val_bits = reg_io_width * 8;
ca668f0e Philipp Zabel 2016-01-29   90  	syscon_config.max_register = resource_size(&res) - reg_io_width;
db2fb60c Damien Riegel 2015-11-30   91  
bdb0066d Pankaj Dubey  2014-09-30   92  	regmap = regmap_init_mmio(NULL, base, &syscon_config);
bdb0066d Pankaj Dubey  2014-09-30   93  	if (IS_ERR(regmap)) {
bdb0066d Pankaj Dubey  2014-09-30   94  		pr_err("regmap init failed\n");
bdb0066d Pankaj Dubey  2014-09-30   95  		ret = PTR_ERR(regmap);
bdb0066d Pankaj Dubey  2014-09-30   96  		goto err_regmap;
bdb0066d Pankaj Dubey  2014-09-30   97  	}
bdb0066d Pankaj Dubey  2014-09-30   98  
bdb0066d Pankaj Dubey  2014-09-30   99  	syscon->regmap = regmap;
bdb0066d Pankaj Dubey  2014-09-30  100  	syscon->np = np;
bdb0066d Pankaj Dubey  2014-09-30  101  
bdb0066d Pankaj Dubey  2014-09-30  102  	spin_lock(&syscon_list_slock);
bdb0066d Pankaj Dubey  2014-09-30  103  	list_add_tail(&syscon->list, &syscon_list);
bdb0066d Pankaj Dubey  2014-09-30  104  	spin_unlock(&syscon_list_slock);
87d68730 Dong Aisheng  2012-09-05  105  
bdb0066d Pankaj Dubey  2014-09-30  106  	return syscon;
bdb0066d Pankaj Dubey  2014-09-30  107  
bdb0066d Pankaj Dubey  2014-09-30  108  err_regmap:
bdb0066d Pankaj Dubey  2014-09-30 @109  	iounmap(base);
bdb0066d Pankaj Dubey  2014-09-30  110  err_map:
bdb0066d Pankaj Dubey  2014-09-30  111  	kfree(syscon);
bdb0066d Pankaj Dubey  2014-09-30  112  	return ERR_PTR(ret);

:::::: The code at line 67 was first introduced by commit
:::::: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register

:::::: TO: Philipp Zabel <p.zabel@pengutronix.de>
:::::: CC: Lee Jones <lee.jones@linaro.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17807 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-08-07  6:31 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-08-07  6:31 UTC (permalink / raw)
  To: Andy Yan
  Cc: kbuild-all, linux-kernel, Sebastian Reichel, Matthias Brugger,
	Moritz Fischer, Krzysztof Kozlowski

[-- Attachment #1: Type: text/plain, Size: 5018 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0cbbc422d56668528f6efd1234fe908010284082
commit: 4fcd504edbf7c793325511c2df8dcd083958e28a power: reset: add reboot mode driver
date:   5 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 4fcd504edbf7c793325511c2df8dcd083958e28a
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
>> drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

bdb0066d Pankaj Dubey  2014-09-30   61  
ca668f0e Philipp Zabel 2016-01-29   62  	if (of_address_to_resource(np, 0, &res)) {
ca668f0e Philipp Zabel 2016-01-29   63  		ret = -ENOMEM;
ca668f0e Philipp Zabel 2016-01-29   64  		goto err_map;
ca668f0e Philipp Zabel 2016-01-29   65  	}
ca668f0e Philipp Zabel 2016-01-29   66  
ca668f0e Philipp Zabel 2016-01-29  @67  	base = ioremap(res.start, resource_size(&res));
bdb0066d Pankaj Dubey  2014-09-30   68  	if (!base) {
bdb0066d Pankaj Dubey  2014-09-30   69  		ret = -ENOMEM;
bdb0066d Pankaj Dubey  2014-09-30   70  		goto err_map;
bdb0066d Pankaj Dubey  2014-09-30   71  	}
bdb0066d Pankaj Dubey  2014-09-30   72  
bdb0066d Pankaj Dubey  2014-09-30   73  	/* Parse the device's DT node for an endianness specification */
bdb0066d Pankaj Dubey  2014-09-30   74  	if (of_property_read_bool(np, "big-endian"))
bdb0066d Pankaj Dubey  2014-09-30   75  		syscon_config.val_format_endian = REGMAP_ENDIAN_BIG;
bdb0066d Pankaj Dubey  2014-09-30   76  	 else if (of_property_read_bool(np, "little-endian"))
bdb0066d Pankaj Dubey  2014-09-30   77  		syscon_config.val_format_endian = REGMAP_ENDIAN_LITTLE;
bdb0066d Pankaj Dubey  2014-09-30   78  
db2fb60c Damien Riegel 2015-11-30   79  	/*
db2fb60c Damien Riegel 2015-11-30   80  	 * search for reg-io-width property in DT. If it is not provided,
db2fb60c Damien Riegel 2015-11-30   81  	 * default to 4 bytes. regmap_init_mmio will return an error if values
db2fb60c Damien Riegel 2015-11-30   82  	 * are invalid so there is no need to check them here.
db2fb60c Damien Riegel 2015-11-30   83  	 */
db2fb60c Damien Riegel 2015-11-30   84  	ret = of_property_read_u32(np, "reg-io-width", &reg_io_width);
db2fb60c Damien Riegel 2015-11-30   85  	if (ret)
db2fb60c Damien Riegel 2015-11-30   86  		reg_io_width = 4;
db2fb60c Damien Riegel 2015-11-30   87  
db2fb60c Damien Riegel 2015-11-30   88  	syscon_config.reg_stride = reg_io_width;
db2fb60c Damien Riegel 2015-11-30   89  	syscon_config.val_bits = reg_io_width * 8;
ca668f0e Philipp Zabel 2016-01-29   90  	syscon_config.max_register = resource_size(&res) - reg_io_width;
db2fb60c Damien Riegel 2015-11-30   91  
bdb0066d Pankaj Dubey  2014-09-30   92  	regmap = regmap_init_mmio(NULL, base, &syscon_config);
bdb0066d Pankaj Dubey  2014-09-30   93  	if (IS_ERR(regmap)) {
bdb0066d Pankaj Dubey  2014-09-30   94  		pr_err("regmap init failed\n");
bdb0066d Pankaj Dubey  2014-09-30   95  		ret = PTR_ERR(regmap);
bdb0066d Pankaj Dubey  2014-09-30   96  		goto err_regmap;
bdb0066d Pankaj Dubey  2014-09-30   97  	}
bdb0066d Pankaj Dubey  2014-09-30   98  
bdb0066d Pankaj Dubey  2014-09-30   99  	syscon->regmap = regmap;
bdb0066d Pankaj Dubey  2014-09-30  100  	syscon->np = np;
bdb0066d Pankaj Dubey  2014-09-30  101  
bdb0066d Pankaj Dubey  2014-09-30  102  	spin_lock(&syscon_list_slock);
bdb0066d Pankaj Dubey  2014-09-30  103  	list_add_tail(&syscon->list, &syscon_list);
bdb0066d Pankaj Dubey  2014-09-30  104  	spin_unlock(&syscon_list_slock);
87d68730 Dong Aisheng  2012-09-05  105  
bdb0066d Pankaj Dubey  2014-09-30  106  	return syscon;
bdb0066d Pankaj Dubey  2014-09-30  107  
bdb0066d Pankaj Dubey  2014-09-30  108  err_regmap:
bdb0066d Pankaj Dubey  2014-09-30 @109  	iounmap(base);
bdb0066d Pankaj Dubey  2014-09-30  110  err_map:
bdb0066d Pankaj Dubey  2014-09-30  111  	kfree(syscon);
bdb0066d Pankaj Dubey  2014-09-30  112  	return ERR_PTR(ret);

:::::: The code at line 67 was first introduced by commit
:::::: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register

:::::: TO: Philipp Zabel <p.zabel@pengutronix.de>
:::::: CC: Lee Jones <lee.jones@linaro.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17679 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-07-24  1:40 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-07-24  1:40 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Lee Jones, Philipp Zabel

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   107df03203bb66de56e2caec3bde6d22b55480c5
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   4 months ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17719 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-06-26  9:40 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-06-26  9:40 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Lee Jones, Philipp Zabel

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   da2f6aba4a21f8da3331e5251a117c52764da579
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   3 months ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17719 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-06-12 20:24 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-06-12 20:24 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Lee Jones, Philipp Zabel

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5edb56491d4812c42175980759da53388e5d86f5
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   3 months ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17549 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-06-05 12:32 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-06-05 12:32 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Lee Jones, Philipp Zabel

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   049ec1b5a76d34a6980cccdb7c0baeb4eed7a993
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   3 months ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^~~~~~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17719 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-04-17  5:22 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-04-17  5:22 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: kbuild-all, linux-kernel, Lee Jones

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

Hi Philipp,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b9f5dba225aede4518ab0a7374c2dc38c7c049ce
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   5 weeks ago
config: um-allmodconfig (attached as .config)
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17719 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-04-03  4:06 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-04-03  4:06 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: kbuild-all, linux-kernel, Lee Jones

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

Hi Philipp,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f7eeb8a87c033d126ff6b8c35405ba5dc4e55754
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   3 weeks ago
config: um-allyesconfig (attached as .config)
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17549 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'
@ 2016-03-20  2:22 kbuild test robot
  0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2016-03-20  2:22 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: kbuild-all, linux-kernel, Lee Jones

[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   de06dbfa7861c9019eedefc0c356ba86e5098f1b
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register
date:   4 days ago
config: um-allyesconfig (attached as .config)
reproduce:
        git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
        # 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:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     base = ioremap(res.start, resource_size(&res));
            ^
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     base = ioremap(res.start, resource_size(&res));
          ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

    61	
    62		if (of_address_to_resource(np, 0, &res)) {
    63			ret = -ENOMEM;
    64			goto err_map;
    65		}
    66	
  > 67		base = ioremap(res.start, resource_size(&res));
    68		if (!base) {
    69			ret = -ENOMEM;
    70			goto err_map;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17549 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-15 14:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-17  8:10 drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap' kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2016-08-15 14:53 kbuild test robot
2016-08-07  6:31 kbuild test robot
2016-07-24  1:40 kbuild test robot
2016-06-26  9:40 kbuild test robot
2016-06-12 20:24 kbuild test robot
2016-06-05 12:32 kbuild test robot
2016-04-17  5:22 kbuild test robot
2016-04-03  4:06 kbuild test robot
2016-03-20  2:22 kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).