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] [day] [month] [year] [list]
Message-ID: <20150529151921.GD2026@saruman.tx.rr.com>
Date:	Fri, 29 May 2015 10:19:21 -0500
From:	Felipe Balbi <balbi@...com>
To:	Stephen Rothwell <sfr@...b.auug.org.au>
CC:	Felipe Balbi <balbi@...com>,
	Pali Rohár <pali.rohar@...il.com>,
	<linux-next@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the usb-gadget tree

On Fri, May 29, 2015 at 06:32:13PM +1000, Stephen Rothwell wrote:
> Hi Felipe,
> 
> After merging the usb-gadget tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from include/linux/module.h:17:0,
>                  from drivers/usb/gadget/legacy/nokia.c:19:
> drivers/usb/gadget/legacy/nokia.c: In function '__check_num_buffers':
> drivers/usb/gadget/function/f_mass_storage.h:51:34: error: 'fsg_num_buffers' undeclared (first use in this function)
>   module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
>                                   ^
> include/linux/moduleparam.h:387:68: note: in definition of macro '__param_check'
>   static inline type __always_unused *__check_##name(void) { return(p); }
>                                                                     ^
> include/linux/moduleparam.h:145:2: note: in expansion of macro 'param_check_uint'
>   param_check_##type(name, &(value));       \
>   ^
> drivers/usb/gadget/function/f_mass_storage.h:51:2: note: in expansion of macro 'module_param_named'
>   module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
>   ^
> drivers/usb/gadget/legacy/nokia.c:45:1: note: in expansion of macro 'FSG_MODULE_PARAMETERS'
>  FSG_MODULE_PARAMETERS(/* no prefix */, fsg_mod_data);
>  ^
> drivers/usb/gadget/function/f_mass_storage.h:51:34: note: each undeclared identifier is reported only once for each function it appears in
>   module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
>                                   ^
> include/linux/moduleparam.h:387:68: note: in definition of macro '__param_check'
>   static inline type __always_unused *__check_##name(void) { return(p); }
>                                                                     ^
> include/linux/moduleparam.h:145:2: note: in expansion of macro 'param_check_uint'
>   param_check_##type(name, &(value));       \
>   ^
> drivers/usb/gadget/function/f_mass_storage.h:51:2: note: in expansion of macro 'module_param_named'
>   module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
>   ^
> drivers/usb/gadget/legacy/nokia.c:45:1: note: in expansion of macro 'FSG_MODULE_PARAMETERS'
>  FSG_MODULE_PARAMETERS(/* no prefix */, fsg_mod_data);
>  ^
> drivers/usb/gadget/legacy/nokia.c: At top level:
> drivers/usb/gadget/function/f_mass_storage.h:51:34: error: 'fsg_num_buffers' undeclared here (not in a function)
>   module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
>                                   ^
> include/linux/moduleparam.h:224:22: note: in definition of macro '__module_param_call'
>       level, flags, { arg } }
>                       ^
> include/linux/moduleparam.h:146:2: note: in expansion of macro 'module_param_cb'
>   module_param_cb(name, &param_ops_##type, &value, perm);     \
>   ^
> drivers/usb/gadget/function/f_mass_storage.h:51:2: note: in expansion of macro 'module_param_named'
>   module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
>   ^
> drivers/usb/gadget/legacy/nokia.c:45:1: note: in expansion of macro 'FSG_MODULE_PARAMETERS'
>  FSG_MODULE_PARAMETERS(/* no prefix */, fsg_mod_data);
>  ^
> 
> Caused by commit e4f8ef7b0770 ("usb: gadget: nokia: Add mass storage
> driver to g_nokia").
> 
> I have used the usb-gadget tree from next-20150528 for today.

I'll drop that patch, thanks

-- 
balbi

Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ