mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
devpts: Fix kernel-doc warnings
This documentation has bit-rotted over time. Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org> Message-Id: <20230818201003.2720257-1-willy@infradead.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
b93ec212bc
commit
ec05b12634
|
@ -534,12 +534,12 @@ void devpts_kill_index(struct pts_fs_info *fsi, int idx)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* devpts_pty_new -- create a new inode in /dev/pts/
|
* devpts_pty_new -- create a new inode in /dev/pts/
|
||||||
* @ptmx_inode: inode of the master
|
* @fsi: Filesystem info for this instance.
|
||||||
* @device: major+minor of the node to be created
|
|
||||||
* @index: used as a name of the node
|
* @index: used as a name of the node
|
||||||
* @priv: what's given back by devpts_get_priv
|
* @priv: what's given back by devpts_get_priv
|
||||||
*
|
*
|
||||||
* The created inode is returned. Remove it from /dev/pts/ by devpts_pty_kill.
|
* The dentry for the created inode is returned.
|
||||||
|
* Remove it from /dev/pts/ with devpts_pty_kill().
|
||||||
*/
|
*/
|
||||||
struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
|
struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
|
||||||
{
|
{
|
||||||
|
@ -580,7 +580,7 @@ struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* devpts_get_priv -- get private data for a slave
|
* devpts_get_priv -- get private data for a slave
|
||||||
* @pts_inode: inode of the slave
|
* @dentry: dentry of the slave
|
||||||
*
|
*
|
||||||
* Returns whatever was passed as priv in devpts_pty_new for a given inode.
|
* Returns whatever was passed as priv in devpts_pty_new for a given inode.
|
||||||
*/
|
*/
|
||||||
|
@ -593,7 +593,7 @@ void *devpts_get_priv(struct dentry *dentry)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* devpts_pty_kill -- remove inode form /dev/pts/
|
* devpts_pty_kill -- remove inode form /dev/pts/
|
||||||
* @inode: inode of the slave to be removed
|
* @dentry: dentry of the slave to be removed
|
||||||
*
|
*
|
||||||
* This is an inverse operation of devpts_pty_new.
|
* This is an inverse operation of devpts_pty_new.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user