tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git muse_v1
head: d1901f3da6f0b1e1448f26c782f8da52150bc187
commit: 0a26500839bb81a7adae5902b3c339ff9d6aa0ca [3/5] fuse: Make cuse_parse_one a common
helper
config: x86_64-randconfig-a005-20201119 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b2613fb2f0f53691dd0211895afbb9413457fca7)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git/commit/?id=0a...
git remote add rw
https://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git
git fetch --no-tags rw muse_v1
git checkout 0a26500839bb81a7adae5902b3c339ff9d6aa0ca
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> fs/fuse/helper.c:29:5: warning: no previous prototype for
function 'fuse_kv_parse_one' [-Wmissing-prototypes]
int
fuse_kv_parse_one(char **pp, char *end, char **keyp, char **valp)
^
fs/fuse/helper.c:29:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
int fuse_kv_parse_one(char **pp, char *end, char **keyp, char **valp)
^
static
1 warning generated.
vim +/fuse_kv_parse_one +29 fs/fuse/helper.c
12
13 /**
14 * fuse_kv_parse_one - parse one key=value pair
15 * @pp: i/o parameter for the current position
16 * @end: points to one past the end of the packed string
17 * @keyp: out parameter for key
18 * @valp: out parameter for value
19 *
20 * *@pp points to packed strings - "key0=val0\0key1=val1\0" which ends
21 * at @end - 1. This function parses one pair and set *@keyp to the
22 * start of the key and *@valp to the start of the value. Note that
23 * the original string is modified such that the key string is
24 * terminated with '\0'. *@pp is updated to point to the next string.
25 *
26 * RETURNS:
27 * 1 on successful parse, 0 on EOF, -errno on failure.
28 */
29 int fuse_kv_parse_one(char **pp, char *end, char **keyp, char
**valp)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org