From: "Namjae Jeon" <namjae.jeon@samsung.com>
To: "'kernel test robot'" <lkp@intel.com>,
"'Hyunchul Lee'" <hyc.lee@gmail.com>
Cc: <kbuild-all@lists.01.org>, <clang-built-linux@googlegroups.com>,
"'Linux Memory Management List'" <linux-mm@kvack.org>,
"'Steve French'" <stfrench@microsoft.com>
Subject: RE: [linux-next:master 4948/8469] fs/cifsd/oplock.c:1454: warning: expecting prototype for create_durable_rsp__buf(). Prototype was for create_durable_rsp_buf() instead
Date: Tue, 30 Mar 2021 09:01:31 +0900 [thread overview]
Message-ID: <036801d724f7$d7414520$85c3cf60$@samsung.com> (raw)
In-Reply-To: <202103292024.H6EkiwQx-lkp@intel.com>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
> commit: 2d44673005eab9b51d7851724c63f8bcb060202b [4948/8469] cifsd: fix incorrect comments
> config: powerpc-randconfig-r023-20210329 (attached as .config)
> compiler: clang version 13.0.0 (https://protect2.fireeye.com/v1/url?k=cfc3a3af-90589b52-cfc228e0-
> 000babff317b-12d18b655f894d9b&q=1&e=d28116fb-666b-461f-8615-
> 4fdc6017188a&u=https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
> reproduce (this is a W=1 build):
> wget https://protect2.fireeye.com/v1/url?k=30d373d6-6f484b2b-30d2f899-000babff317b-
> 9937228f3c05747f&q=1&e=d28116fb-666b-461f-8615-
> 4fdc6017188a&u=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-
> tests%2Fmaster%2Fsbin%2Fmake.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # install powerpc cross compiling tool for clang build
> # apt-get install binutils-powerpc-linux-gnu
> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-
> next.git/commit/?id=2d44673005eab9b51d7851724c63f8bcb060202b
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout 2d44673005eab9b51d7851724c63f8bcb060202b
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
> >> fs/cifsd/oplock.c:1454: warning: expecting prototype for
> >> create_durable_rsp__buf(). Prototype was for create_durable_rsp_buf()
> >> instead
Thanks for report!
Will fix it.
>
>
> vim +1454 fs/cifsd/oplock.c
>
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1448 788b6f45c1d2ee Namjae Jeon 2021-03-16 1449 /**
> 2d44673005eab9 Hyunchul Lee 2021-03-21 1450 * create_durable_rsp__buf() - create durable handle
> context
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1451 * @cc: buffer to create durable context response
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1452 */
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1453 void create_durable_rsp_buf(char *cc) 788b6f45c1d2ee
> Namjae Jeon 2021-03-16 @1454 {
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1455 struct create_durable_rsp *buf;
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1456
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1457 buf = (struct create_durable_rsp *)cc;
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1458 memset(buf, 0, sizeof(struct create_durable_rsp));
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1459 buf->ccontext.DataOffset = cpu_to_le16(offsetof
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1460 (struct create_durable_rsp, Data));
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1461 buf->ccontext.DataLength = cpu_to_le32(8);
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1462 buf->ccontext.NameOffset = cpu_to_le16(offsetof
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1463 (struct create_durable_rsp, Name));
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1464 buf->ccontext.NameLength = cpu_to_le16(4);
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1465 /* SMB2_CREATE_DURABLE_HANDLE_RESPONSE is "DHnQ" */
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1466 buf->Name[0] = 'D';
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1467 buf->Name[1] = 'H';
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1468 buf->Name[2] = 'n';
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1469 buf->Name[3] = 'Q';
> 788b6f45c1d2ee Namjae Jeon 2021-03-16 1470 } 788b6f45c1d2ee Namjae Jeon 2021-03-16 1471
>
> :::::: The code at line 1454 was first introduced by commit
> :::::: 788b6f45c1d2eef909c296d775196bc6ec7dd63a cifsd: add server-side procedures for SMB3
>
> :::::: TO: Namjae Jeon <namjae.jeon@samsung.com>
> :::::: CC: Namjae Jeon <namjae.jeon@samsung.com>
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation https://protect2.fireeye.com/v1/url?k=19998504-
> 4602bdf9-19980e4b-000babff317b-66f0fe65bf138534&q=1&e=d28116fb-666b-461f-8615-
> 4fdc6017188a&u=https%3A%2F%2Flists.01.org%2Fhyperkitty%2Flist%2Fkbuild-all%40lists.01.org
prev parent reply other threads:[~2021-03-30 0:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20210329122146epcas1p247c9b82896f35a3206ec46c2a128577a@epcas1p2.samsung.com>
2021-03-29 12:21 ` kernel test robot
2021-03-30 0:01 ` Namjae Jeon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='036801d724f7$d7414520$85c3cf60$@samsung.com' \
--to=namjae.jeon@samsung.com \
--cc=clang-built-linux@googlegroups.com \
--cc=hyc.lee@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=stfrench@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox