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


Groups > linux.kernel > #1669915

Re: [PATCH v6 1/4] reset: Add APIs to manage array of resets

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6 1/4] reset: Add APIs to manage array of resets
Date 2017-06-19 22:30 +0200
Message-ID <tUbt8-7sP-21@gated-at.bofh.it> (permalink)
References <tU60q-3Pk-25@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 Vivek,

[auto build test WARNING on pza/reset/next]
[also build test WARNING on v4.12-rc6 next-20170619]
[cannot apply to balbi-usb/next]
[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/Philipp-Zabel/reset-Add-APIs-to-manage-array-of-resets/20170620-021320
base:   git://git.pengutronix.de/git/pza/linux reset/next
config: i386-randconfig-c0-06200218 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu//drm/nouveau/include/nvif/os.h:28:0,
                    from drivers/gpu//drm/nouveau/include/nvkm/core/os.h:3,
                    from drivers/gpu//drm/nouveau/include/nvkm/core/event.h:3,
                    from drivers/gpu//drm/nouveau/include/nvkm/core/device.h:3,
                    from drivers/gpu//drm/nouveau/include/nvkm/core/subdev.h:3,
                    from drivers/gpu//drm/nouveau/include/nvkm/core/engine.h:4,
                    from drivers/gpu//drm/nouveau/include/nvkm/engine/fifo.h:3,
                    from drivers/gpu//drm/nouveau/nvkm/engine/fifo/priv.h:4,
                    from drivers/gpu//drm/nouveau/nvkm/engine/fifo/chan.h:4,
                    from drivers/gpu//drm/nouveau/nvkm/engine/fifo/channv50.h:4,
                    from drivers/gpu//drm/nouveau/nvkm/engine/fifo/chang84.c:24:
>> include/linux/reset.h:110:37: warning: 'struct reset_control_array' declared inside parameter list
    void reset_control_array_put(struct reset_control_array *resets)
                                        ^
>> include/linux/reset.h:110:37: warning: its scope is only this definition or declaration, which is probably not what you want

vim +110 include/linux/reset.h

    94		return optional ? NULL : ERR_PTR(-ENOTSUPP);
    95	}
    96	
    97	static inline struct reset_control *
    98	devm_reset_control_array_get(struct device *dev, bool shared, bool optional)
    99	{
   100		return optional ? NULL : ERR_PTR(-ENOTSUPP);
   101	}
   102	
   103	static inline struct reset_control *
   104	of_reset_control_array_get(struct device_node *np, bool shared, bool optional)
   105	{
   106		return optional ? NULL : ERR_PTR(-ENOTSUPP);
   107	}
   108	
   109	static inline
 > 110	void reset_control_array_put(struct reset_control_array *resets)
   111	{
   112	}
   113	
   114	#endif /* CONFIG_RESET_CONTROLLER */
   115	
   116	/**
   117	 * reset_control_get_exclusive - Lookup and obtain an exclusive reference
   118	 *                               to a reset controller.

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

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


Thread

[PATCH v6 0/4] reset: APIs to manage a list of resets Philipp Zabel <p.zabel@pengutronix.de> - 2017-06-19 16:40 +0200
  [PATCH v6 1/4] reset: Add APIs to manage array of resets Philipp Zabel <p.zabel@pengutronix.de> - 2017-06-19 16:40 +0200
    Re: [PATCH v6 1/4] reset: Add APIs to manage array of resets kbuild test robot <lkp@intel.com> - 2017-06-19 22:30 +0200
      Re: [PATCH v6 1/4] reset: Add APIs to manage array of resets Philipp Zabel <p.zabel@pengutronix.de> - 2017-06-20 09:10 +0200
  [PATCH v6 3/4] usb: dwc3: of-simple: Add support to get resets for the device Philipp Zabel <p.zabel@pengutronix.de> - 2017-06-19 16:40 +0200
  [PATCH v6 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers Philipp Zabel <p.zabel@pengutronix.de> - 2017-06-19 16:40 +0200
  [PATCH v6 2/4] usb: dwc3: of-simple: Re-order resource handling in remove Philipp Zabel <p.zabel@pengutronix.de> - 2017-06-19 16:40 +0200

csiph-web