Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673496
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 35/36] x86/boot: Add early cmdline parsing for options with arguments |
| Date | 2017-06-23 14:00 +0200 |
| Message-ID | <tVvpL-1FF-11@gated-at.bofh.it> (permalink) |
| References | <tTjsJ-5VA-5@gated-at.bofh.it> <tVvpL-1FF-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jun 16, 2017 at 01:56:30PM -0500, Tom Lendacky wrote:
> Add a cmdline_find_option() function to look for cmdline options that
> take arguments. The argument is returned in a supplied buffer and the
> argument length (regardless of whether it fits in the supplied buffer)
> is returned, with -1 indicating not found.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
> ---
> arch/x86/include/asm/cmdline.h | 2 +
> arch/x86/lib/cmdline.c | 105 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 107 insertions(+)
Reviewed-by: Borislav Petkov <bp@suse.de>
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v7 35/36] x86/boot: Add early cmdline parsing for options with arguments Borislav Petkov <bp@alien8.de> - 2017-06-23 14:00 +0200
csiph-web