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, 29 Jan 2022 23:55:55 +0000 (15:55 -0800)
commit6431226f1d74a4819eca0972fb5c595e75094643
treededcfff7c339e9283fea5ce4e07dba423de19bd5
parent5f42e6a8ca2639c9914e834e55f055782de8c60c
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