All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robbie Harwood <rharwood@redhat.com>
To: Daniel Kiper <dkiper@net-space.pl>
Cc: grub-devel@gnu.org, Raymund Will <rw@suse.com>,
	xxc3ncoredxx@gmail.com, John Jolly <jjolly@suse.com>,
	Javier Martinez Canillas <javierm@redhat.com>
Subject: Re: [PATCH v5 1/1] Add support for grub-emu to kexec Linux menu entries
Date: Thu, 20 Oct 2022 15:20:58 -0400	[thread overview]
Message-ID: <jlgzgdqti79.fsf@redhat.com> (raw)
In-Reply-To: <20221020134130.q6b6xnph2kswxlfb@tomti.i.net-space.pl>

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

Daniel Kiper <dkiper@net-space.pl> writes:

> On Wed, Oct 19, 2022 at 02:50:00PM -0400, Robbie Harwood wrote:
>
>> diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
>> index d0e7a107e7..521220b49d 100644
>> --- a/grub-core/kern/emu/misc.c
>> +++ b/grub-core/kern/emu/misc.c
>> @@ -39,6 +39,7 @@
>>  #include <grub/emu/misc.h>
>>
>>  int verbosity;
>> +int kexecute;
>
> We have bool type now so I would use it here. Or at least try it does
> not break other builds... :-)

As written, it's not actually a boolean... it keeps track of how many
times the flag has been passed, and that's how the "pass twice" behavior
is implemented.

Be well,
--Robbie

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  reply	other threads:[~2022-10-20 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 18:49 [PATCH v5 0/1] Add support for grub-emu to kexec Linux menu entries Robbie Harwood
2022-10-19 18:50 ` [PATCH v5 1/1] " Robbie Harwood
2022-10-20 13:41   ` Daniel Kiper
2022-10-20 19:20     ` Robbie Harwood [this message]
2022-10-21 12:05       ` Daniel Kiper

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=jlgzgdqti79.fsf@redhat.com \
    --to=rharwood@redhat.com \
    --cc=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=javierm@redhat.com \
    --cc=jjolly@suse.com \
    --cc=rw@suse.com \
    --cc=xxc3ncoredxx@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.