Re: [PATCH v2 fixed line wrap mangling] fuse: Add support for fuse stacked I/O

From: kbuild test robot
Date: Thu Jan 14 2016 - 14:20:36 EST


Hi Nikhilesh,

[auto build test WARNING on v4.4-rc8]
[also build test WARNING on next-20160114]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Nikhilesh-Reddy/fuse-Add-support-for-fuse-stacked-I-O/20160115-030449
config: i386-randconfig-x005-01140835 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

fs/fuse/file.c: In function 'fuse_do_open':
>> fs/fuse/file.c:148:22: warning: 'lower_file' may be used uninitialized in this function [-Wmaybe-uninitialized]
ff->rw_lower_file = lower_file;
^

vim +/lower_file +148 fs/fuse/file.c

132
133 ff = fuse_file_alloc(fc);
134 if (!ff)
135 return -ENOMEM;
136
137 ff->fh = 0;
138 ff->open_flags = FOPEN_KEEP_CACHE; /* Default for no-open */
139 if (!fc->no_open || isdir) {
140 struct fuse_open_out outarg;
141 int err;
142
143 err = fuse_send_open(fc, nodeid, file, opcode, &outarg,
144 &(lower_file));
145 if (!err) {
146 ff->fh = outarg.fh;
147 ff->open_flags = outarg.open_flags;
> 148 ff->rw_lower_file = lower_file;
149
150 } else if (err != -ENOSYS || isdir) {
151 fuse_file_free(ff);
152 return err;
153 } else {
154 fc->no_open = 1;
155 }
156 }

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

Attachment: .config.gz
Description: Binary data