Re: [PATCH 0/2] module: some refactoring in module_sig_check()
From: Joe Perches
Date: Wed Oct 14 2020 - 04:35:26 EST
On Wed, 2020-10-14 at 11:18 +0300, Sergey Shtylyov wrote:
> Hello!
>
> On 14.10.2020 1:44, Joe Perches wrote:
>
> > > Here are 2 patches against the 'modules-next' branch of Jessica Yu's 'linux.git' repo.
> > > I'm doing some little refactoring in module_sig_check()...
> > >
> > > [1/2] module: merge repetitive strings in module_sig_check()
> > > [2/2] module: unindent comments in module_sig_check()
> >
> > I think this code is rather cryptic and could be made clearer.
> >
> > How about:
> > ---
> > kernel/module.c | 51 ++++++++++++++++++++++++++-------------------------
> > 1 file changed, 26 insertions(+), 25 deletions(-)
>
> Looks good. Do you want to post complete patch(es)? :-)
I don't like posting actual patches on top of other people.
It's a complete and compilable diff, it's just unsigned.
If you want a Signed-off-by: here's one:
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>