On Tue, Jan 14, 2020 at 06:10:43PM +0100, Laszlo Ersek wrote:
> On 01/14/20 10:25, Gerd Hoffmann wrote:
> > Call find_prio("HALT") only once, on first is_bootprio_strict() call.
> > Store the result in a variable and reuse it on subsequent calls.
> >
> > Signed-off-by: Gerd Hoffmann
> > ---
> >
On 01/14/20 10:25, Gerd Hoffmann wrote:
> Call find_prio("HALT") only once, on first is_bootprio_strict() call.
> Store the result in a variable and reuse it on subsequent calls.
>
> Signed-off-by: Gerd Hoffmann
> ---
> src/boot.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
On 1/14/20 10:25 AM, Gerd Hoffmann wrote:
Call find_prio("HALT") only once, on first is_bootprio_strict() call.
Store the result in a variable and reuse it on subsequent calls.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
---
src/boot.c | 6 +-
1 file changed, 5
Hi,
14.01.2020, 12:25, "Gerd Hoffmann" :
> Call find_prio("HALT") only once, on first is_bootprio_strict() call.
> Store the result in a variable and reuse it on subsequent calls.
>
> Signed-off-by: Gerd Hoffmann
Reviewed-by: Alexey Kirillov
> ---
> src/boot.c | 6 +-
> 1 file changed, 5