Message ID | 20221008063411.14829-3-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | [1/3] AppArmor: Fix kernel-doc | expand |
On 10/7/22 23:34, Jiapeng Chong wrote: > security/apparmor/ipc.c:53: warning: expecting prototype for audit_cb(). Prototype was for audit_signal_cb() instead. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2337 > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: John Johansen <john.johansen@canonical.com> I have pulled this into my tree > --- > security/apparmor/ipc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/security/apparmor/ipc.c b/security/apparmor/ipc.c > index 1d4099385bdf..5acde746775f 100644 > --- a/security/apparmor/ipc.c > +++ b/security/apparmor/ipc.c > @@ -45,7 +45,7 @@ static const char *audit_signal_mask(u32 mask) > } > > /** > - * audit_cb - call back for signal specific audit fields > + * audit_signal_cb() - call back for signal specific audit fields > * @ab: audit_buffer (NOT NULL) > * @va: audit struct to audit values of (NOT NULL) > */
diff --git a/security/apparmor/ipc.c b/security/apparmor/ipc.c index 1d4099385bdf..5acde746775f 100644 --- a/security/apparmor/ipc.c +++ b/security/apparmor/ipc.c @@ -45,7 +45,7 @@ static const char *audit_signal_mask(u32 mask) } /** - * audit_cb - call back for signal specific audit fields + * audit_signal_cb() - call back for signal specific audit fields * @ab: audit_buffer (NOT NULL) * @va: audit struct to audit values of (NOT NULL) */
security/apparmor/ipc.c:53: warning: expecting prototype for audit_cb(). Prototype was for audit_signal_cb() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2337 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- security/apparmor/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)