Re: [PATCH v3 1/3] Make call_usermodehelper_exec possible to set pid namespace

From: kbuild test robot
Date: Mon Aug 29 2016 - 12:59:54 EST


Hi Zhao,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.8-rc4 next-20160825]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Zhao-Lei/Make-core_pattern-support-namespace/20160829-201413
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

lib/crc32.c:148: warning: No description found for parameter 'tab)[256]'
lib/crc32.c:148: warning: Excess function parameter 'tab' description in 'crc32_le_generic'
lib/crc32.c:293: warning: No description found for parameter 'tab)[256]'
lib/crc32.c:293: warning: Excess function parameter 'tab' description in 'crc32_be_generic'
lib/crc32.c:1: warning: no structured comments found
>> kernel/kmod.c:624: warning: No description found for parameter 'init_intermediate'

vim +/init_intermediate +624 kernel/kmod.c

a06a4dc3 Neil Horman 2010-05-26 608 *
a06a4dc3 Neil Horman 2010-05-26 609 * The init function is used to customize the helper process prior to
a06a4dc3 Neil Horman 2010-05-26 610 * exec. A non-zero return code causes the process to error out, exit,
a06a4dc3 Neil Horman 2010-05-26 611 * and return the failure to the calling process
0ab4dc92 Jeremy Fitzhardinge 2007-07-17 612 *
a06a4dc3 Neil Horman 2010-05-26 613 * The cleanup function is just before ethe subprocess_info is about to
0ab4dc92 Jeremy Fitzhardinge 2007-07-17 614 * be freed. This can be used for freeing the argv and envp. The
0ab4dc92 Jeremy Fitzhardinge 2007-07-17 615 * Function must be runnable in either a process context or the
0ab4dc92 Jeremy Fitzhardinge 2007-07-17 616 * context in which call_usermodehelper_exec is called.
0ab4dc92 Jeremy Fitzhardinge 2007-07-17 617 */
938e4b22 Lucas De Marchi 2013-04-30 618 struct subprocess_info *call_usermodehelper_setup(char *path, char **argv,
938e4b22 Lucas De Marchi 2013-04-30 619 char **envp, gfp_t gfp_mask,
a0807e8e Zhao Lei 2016-08-29 620 int (*init_intermediate)(struct subprocess_info *info),
87966996 David Howells 2011-06-17 621 int (*init)(struct subprocess_info *info, struct cred *new),
a06a4dc3 Neil Horman 2010-05-26 622 void (*cleanup)(struct subprocess_info *info),
a06a4dc3 Neil Horman 2010-05-26 623 void *data)
0ab4dc92 Jeremy Fitzhardinge 2007-07-17 @624 {
938e4b22 Lucas De Marchi 2013-04-30 625 struct subprocess_info *sub_info;
938e4b22 Lucas De Marchi 2013-04-30 626 sub_info = kzalloc(sizeof(struct subprocess_info), gfp_mask);
938e4b22 Lucas De Marchi 2013-04-30 627 if (!sub_info)
938e4b22 Lucas De Marchi 2013-04-30 628 goto out;
938e4b22 Lucas De Marchi 2013-04-30 629
b6b50a81 Frederic Weisbecker 2015-09-09 630 INIT_WORK(&sub_info->work, call_usermodehelper_exec_work);
938e4b22 Lucas De Marchi 2013-04-30 631 sub_info->path = path;
938e4b22 Lucas De Marchi 2013-04-30 632 sub_info->argv = argv;

:::::: The code at line 624 was first introduced by commit
:::::: 0ab4dc92278a0f3816e486d6350c6652a72e06c8 usermodehelper: split setup from execution

:::::: TO: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
:::::: CC: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

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

Attachment: .config.gz
Description: Binary data