Re: [PATCH 3/3] pipe: add proc_dopipe_max_size() to safely assign pipe_max_size

From: kbuild test robot
Date: Fri Sep 29 2017 - 11:20:47 EST


Hi Joe,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc2 next-20170929]
[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/Joe-Lawrence/A-few-round_pipe_size-and-pipe-max-size-fixups/20170929-205234
config: h8300-h8300h-sim_defconfig (attached as .config)
compiler: h8300-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=h8300

All errors (new ones prefixed by >>):

fs/pipe.o: In function `pipe_proc_fn':
>> fs/pipe.c:1133: undefined reference to `proc_dopipe_max_size'

vim +1133 fs/pipe.c

1125
1126 /*
1127 * This should work even if CONFIG_PROC_FS isn't set, as proc_dointvec_minmax
1128 * will return an error.
1129 */
1130 int pipe_proc_fn(struct ctl_table *table, int write, void __user *buf,
1131 size_t *lenp, loff_t *ppos)
1132 {
> 1133 return proc_dopipe_max_size(table, write, buf, lenp, ppos);
1134 }
1135

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

Attachment: .config.gz
Description: application/gzip