Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444519

Re: [PATCH 1/1] memory: emif: add missing of_node_put after calling of_parse_phandle

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] memory: emif: add missing of_node_put after calling of_parse_phandle
Date 2016-07-15 21:00 +0200
Message-ID <rVgv7-202-15@gated-at.bofh.it> (permalink)
References <rVgv7-202-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

[auto build test ERROR on v4.7-rc7]
[also build test ERROR on next-20160715]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Peter-Chen/memory-emif-add-missing-of_node_put-after-calling-of_parse_phandle/20160715-190829
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/memory/emif.c: In function 'of_get_memory_device_details':
>> drivers/memory/emif.c:1412:2: error: implicit declaration of function 'of_put_node' [-Werror=implicit-function-declaration]
     of_put_node(np_ddr);
     ^
   cc1: some warnings being treated as errors

vim +/of_put_node +1412 drivers/memory/emif.c

  1406						&emif->plat_data->timings_arr_size);
  1407	
  1408		emif->plat_data->min_tck = of_get_min_tck(np_ddr, emif->dev);
  1409		goto out;
  1410	
  1411	error:
> 1412		of_put_node(np_ddr);
  1413		return NULL;
  1414	out:
  1415		of_put_node(np_ddr);

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/1] memory: emif: add missing of_node_put after calling  of_parse_phandle kbuild test robot <lkp@intel.com> - 2016-07-15 21:00 +0200

csiph-web