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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706200445.RVcRobQj%fengguang.wu@intel.com>
Date:   Tue, 20 Jun 2017 04:21:55 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Philipp Zabel <p.zabel@...gutronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Vivek Gautam <vivek.gautam@...eaurora.org>,
        Jon Hunter <jonathanh@...dia.com>,
        Felipe Balbi <balbi@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Thierry Reding <treding@...dia.com>,
        linux-tegra@...r.kernel.org, linux-usb@...r.kernel.org,
        linux-arm-msm@...r.kernel.org,
        Philipp Zabel <p.zabel@...gutronix.de>
Subject: Re: [PATCH v6 1/4] reset: Add APIs to manage array of resets

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

Download attachment ".config.gz" of type "application/gzip" (25302 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ