[SRU][F][PATCH 0/1] security: lockdown: remove trailing semicolon before function body

Andrea Righi andrea.righi at canonical.com
Tue May 26 08:05:34 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1880660

[Impact]

Commit:

 40fc208c8aae ("UBUNTU: SAUCE: (lockdown) security: lockdown: expose a hook to lock the kernel down")

adds an inline function with a trailing semicolon before the function
body, that can potentially cause build errors.

[Test case]

Build anything that includes linux/security.h and check for
warnings/errors.

[Fix]

Fix by removing the trailing semicolon.

[Regression potential]

The problem is an obvious syntax error, fix is trivial, so regression
potential is minimal.




More information about the kernel-team mailing list