All of lore.kernel.org
 help / color / mirror / Atom feed
* [smfrench-smb3-kernel:pr/33 19/21] fs/cifsd/oplock.c:1454: warning: expecting prototype for create_durable_rsp__buf(). Prototype was for create_durable_rsp_buf() instead
@ 2021-03-22  7:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-22  7:55 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3436 bytes --]

tree:   git://github.com/smfrench/smb3-kernel.git pr/33
head:   3bf0685764b93fb21ea962af4b1e035bdc11e03a
commit: 2d44673005eab9b51d7851724c63f8bcb060202b [19/21] cifsd: fix incorrect comments
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
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
        # https://github.com/smfrench/smb3-kernel/commit/2d44673005eab9b51d7851724c63f8bcb060202b
        git remote add smfrench-smb3-kernel git://github.com/smfrench/smb3-kernel.git
        git fetch --no-tags smfrench-smb3-kernel pr/33
        git checkout 2d44673005eab9b51d7851724c63f8bcb060202b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa 

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


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://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 67295 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-22  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-22  7:55 [smfrench-smb3-kernel:pr/33 19/21] fs/cifsd/oplock.c:1454: warning: expecting prototype for create_durable_rsp__buf(). Prototype was for create_durable_rsp_buf() instead kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.