apparmor: Fix match_mnt_path_str() and match_mnt() kernel-doc comment
authorYang Li <yang.lee@linux.alibaba.com>
Sat, 29 Jan 2022 02:50:59 +0000 (10:50 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 9 Jul 2022 22:13:59 +0000 (15:13 -0700)
commite21851b349b8dd0af00fc4d887983a2767eb393c
tree477d34b01ee36d680ddeeeae6e794249511bea4e
parentc0ea4b919daed7333ebc0d630adc262eb0a0d8c1
apparmor: Fix match_mnt_path_str() and match_mnt() kernel-doc comment

Fix a spelling problem and change @mntpath to @path to remove warnings
found by running scripts/kernel-doc, which is caused by using 'make W=1'.

security/apparmor/mount.c:321: warning: Function parameter or member
'devname' not described in 'match_mnt_path_str'
security/apparmor/mount.c:321: warning: Excess function parameter
'devnme' description in 'match_mnt_path_str'
security/apparmor/mount.c:377: warning: Function parameter or member
'path' not described in 'match_mnt'
security/apparmor/mount.c:377: warning: Excess function parameter
'mntpath' description in 'match_mnt'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/mount.c