On Tue, Aug 8, 2017 at 8:18 PM, Masahiro Yamada
wrote:
> There is code duplication between sec_name() and sech_name().
> Simplify sec_name() by re-using sech_name(). Also, move them up
> to remove the forward declaration of sec_name().
>
> Signed-off-by: Masahiro
On Tue, Aug 8, 2017 at 8:18 PM, Masahiro Yamada
wrote:
> There is code duplication between sec_name() and sech_name().
> Simplify sec_name() by re-using sech_name(). Also, move them up
> to remove the forward declaration of sec_name().
>
> Signed-off-by: Masahiro Yamada
Reviewed-by: Kees Cook
There is code duplication between sec_name() and sech_name().
Simplify sec_name() by re-using sech_name(). Also, move them up
to remove the forward declaration of sec_name().
Signed-off-by: Masahiro Yamada
---
scripts/mod/modpost.c | 27
There is code duplication between sec_name() and sech_name().
Simplify sec_name() by re-using sech_name(). Also, move them up
to remove the forward declaration of sec_name().
Signed-off-by: Masahiro Yamada
---
scripts/mod/modpost.c | 27 +++
1 file changed, 11
4 matches
Mail list logo