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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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/falcon.h:4,
                    from drivers/gpu/drm/nouveau/nvkm/falcon/priv.h:3,
                    from drivers/gpu/drm/nouveau/nvkm/falcon/v1.c:22:
>> include/linux/reset.h:110:37: warning: 'struct reset_control_array' declared inside parameter list will not be visible outside of this definition or declaration
    void reset_control_array_put(struct reset_control_array *resets)
                                        ^~~~~~~~~~~~~~~~~~~

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux