Skip to content

Commit 4b59f4f

Browse files
rddunlapcschaufler
authored andcommitted
security/smack/smackfs: small kernel-doc fixes
Add function short descriptions to the kernel-doc where missing. Correct a verb and add ending periods to sentences. smackfs.c:1080: warning: missing initial short description on line: * smk_net4addr_insert smackfs.c:1343: warning: missing initial short description on line: * smk_net6addr_insert Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Casey Schaufler <casey@schaufler-ca.com> Cc: linux-security-module@vger.kernel.org Cc: Paul Moore <paul@paul-moore.com> Cc: James Morris <jmorris@namei.org> Cc: "Serge E. Hallyn" <serge@hallyn.com>
1 parent 0af2f6b commit 4b59f4f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

security/smack/smackfs.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,13 +1077,12 @@ static int smk_open_net4addr(struct inode *inode, struct file *file)
10771077
}
10781078

10791079
/**
1080-
* smk_net4addr_insert
1080+
* smk_net4addr_insert - insert a new entry into the net4addrs list
10811081
* @new : netlabel to insert
10821082
*
1083-
* This helper insert netlabel in the smack_net4addrs list
1083+
* This helper inserts netlabel in the smack_net4addrs list
10841084
* sorted by netmask length (longest to smallest)
1085-
* locked by &smk_net4addr_lock in smk_write_net4addr
1086-
*
1085+
* locked by &smk_net4addr_lock in smk_write_net4addr.
10871086
*/
10881087
static void smk_net4addr_insert(struct smk_net4addr *new)
10891088
{
@@ -1340,13 +1339,12 @@ static int smk_open_net6addr(struct inode *inode, struct file *file)
13401339
}
13411340

13421341
/**
1343-
* smk_net6addr_insert
1342+
* smk_net6addr_insert - insert a new entry into the net6addrs list
13441343
* @new : entry to insert
13451344
*
13461345
* This inserts an entry in the smack_net6addrs list
13471346
* sorted by netmask length (longest to smallest)
1348-
* locked by &smk_net6addr_lock in smk_write_net6addr
1349-
*
1347+
* locked by &smk_net6addr_lock in smk_write_net6addr.
13501348
*/
13511349
static void smk_net6addr_insert(struct smk_net6addr *new)
13521350
{

0 commit comments

Comments
 (0)