Skip to content

Commit 4c51de1

Browse files
committed
cifs: fix incorrect kernel doc comments
Correct kernel-doc comments pointed out by the automated kernel test robot. Reported-by: kernel test robot <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 099dd78 commit 4c51de1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

fs/cifs/connect.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ cifs_demultiplex_thread(void *p)
10891089
module_put_and_exit(0);
10901090
}
10911091

1092-
/**
1092+
/*
10931093
* Returns true if srcaddr isn't specified and rhs isn't specified, or
10941094
* if srcaddr is specified and matches the IP address of the rhs argument
10951095
*/
@@ -1549,6 +1549,9 @@ static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx)
15491549

15501550
/**
15511551
* cifs_setup_ipc - helper to setup the IPC tcon for the session
1552+
* @ses: smb session to issue the request on
1553+
* @ctx: the superblock configuration context to use for building the
1554+
* new tree connection for the IPC (interprocess communication RPC)
15521555
*
15531556
* A new IPC connection is made and stored in the session
15541557
* tcon_ipc. The IPC tcon has the same lifetime as the session.
@@ -1604,6 +1607,7 @@ cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx)
16041607

16051608
/**
16061609
* cifs_free_ipc - helper to release the session IPC tcon
1610+
* @ses: smb session to unmount the IPC from
16071611
*
16081612
* Needs to be called everytime a session is destroyed.
16091613
*
@@ -1854,6 +1858,8 @@ cifs_set_cifscreds(struct smb3_fs_context *ctx __attribute__((unused)),
18541858

18551859
/**
18561860
* cifs_get_smb_ses - get a session matching @ctx data from @server
1861+
* @server: server to setup the session to
1862+
* @ctx: superblock configuration context to use to setup the session
18571863
*
18581864
* This function assumes it is being called from cifs_mount() where we
18591865
* already got a server reference (server refcount +1). See
@@ -2064,6 +2070,8 @@ cifs_put_tcon(struct cifs_tcon *tcon)
20642070

20652071
/**
20662072
* cifs_get_tcon - get a tcon matching @ctx data from @ses
2073+
* @ses: smb session to issue the request on
2074+
* @ctx: the superblock configuration context to use for building the
20672075
*
20682076
* - tcon refcount is the number of mount points using the tcon.
20692077
* - ses refcount is the number of tcon using the session.
@@ -3029,7 +3037,7 @@ build_unc_path_to_root(const struct smb3_fs_context *ctx,
30293037
return full_path;
30303038
}
30313039

3032-
/**
3040+
/*
30333041
* expand_dfs_referral - Perform a dfs referral query and update the cifs_sb
30343042
*
30353043
* If a referral is found, cifs_sb->ctx->mount_options will be (re-)allocated

fs/cifs/ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg)
358358
if (pSMBFile == NULL)
359359
break;
360360
tcon = tlink_tcon(pSMBFile->tlink);
361-
caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
361+
/* caps = le64_to_cpu(tcon->fsUnixInfo.Capability); */
362362

363363
if (get_user(ExtAttrBits, (int __user *)arg)) {
364364
rc = -EFAULT;

0 commit comments

Comments
 (0)