From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] sysctl01: fix fails on live-patched kernels
Date: Fri, 8 Mar 2019 17:24:21 +0100 [thread overview]
Message-ID: <20190308162421.GA2811@dell5510> (raw)
In-Reply-To: <20190308115831.GB1360@dell5510>
Hi Jan,
> ...
> > + klp_tag = strstr(buf.version, "/kGraft-");
> > + if (!klp_tag)
> > + klp_tag = strstr(buf.version, "/lp-");
> > + if (klp_tag) {
> > + right_brace = strchr(klp_tag, ')');
> > + if (right_brace)
> > + memmove(klp_tag, right_brace, sizeof(char) * (strlen(right_brace)+1));
> sizeof(char) == 1 by definition :)
Merged, with this tiny fix + extended commit message.
Thanks for your patch!
Kind regards,
Petr
prev parent reply other threads:[~2019-03-08 16:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 18:37 [LTP] [PATCH v2] sysctl01: fix fails on live-patched kernels Jan Baier
2019-03-08 11:58 ` Petr Vorel
2019-03-08 16:24 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190308162421.GA2811@dell5510 \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox