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

Colin Ian King colin.king at canonical.com
Tue May 26 08:07:13 UTC 2020


On 26/05/2020 09:05, Andrea Righi wrote:
> 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.
> 
> 

Thanks Andrea,

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the kernel-team mailing list