[PATCH v2] Fix __clzsi2 logic

2022-10-03 Thread Tuan Phan
Fix the incorrect return value of __clzsi2 function. Fixes: e795b90 ("RISC-V: Add libgcc helpers for clz") Signed-off-by: Tuan Phan Reviewed-by: Daniel Kiper --- V2: Drop redundant brackets Signed-off-by: Tuan Phan --- grub-core/kern/compiler-rt.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH] Fix __clzsi2 logic

2022-10-03 Thread Tuan Phan
On Mon, Oct 3, 2022 at 8:26 AM Daniel Kiper wrote: > On Thu, Sep 29, 2022 at 03:00:26PM -0700, Tuan Phan wrote: > > Fix the incorrect return value of __clzsi2 function. > > > > Fixes: e795b90 ("RISC-V: Add libgcc helpers for clz") > > Signed-off-by: Tuan Phan > > Reviewed-by: Daniel Kiper but..

Re: [PATCH] Fix __clzsi2 logic

2022-10-03 Thread Daniel Kiper
On Thu, Sep 29, 2022 at 03:00:26PM -0700, Tuan Phan wrote: > Fix the incorrect return value of __clzsi2 function. > > Fixes: e795b90 ("RISC-V: Add libgcc helpers for clz") > Signed-off-by: Tuan Phan Reviewed-by: Daniel Kiper but... > --- > grub-core/kern/compiler-rt.c | 2 +- > 1 file changed,

Re: [PATCH] cmp: Only return success when both files have the same contents

2022-10-03 Thread Daniel Kiper
On Sat, Oct 01, 2022 at 12:44:50AM -0500, Glenn Washburn wrote: > On Thu, 29 Sep 2022 16:00:59 +0200 > Daniel Kiper wrote: > > > On Thu, Aug 25, 2022 at 07:56:29PM -0500, Glenn Washburn wrote: > > > From: Li Gen > > > > > > This allows the cmp command to be used in GRUB scripts to conditionally >

Re: [PATCH] menu: Add ctrl-L to refresh the menu

2022-10-03 Thread Daniel Kiper
On Fri, Sep 23, 2022 at 10:28:08AM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2022-09-22 at 19:36 +0200, Daniel Kiper wrote: > > On Wed, Aug 31, 2022 at 06:24:28PM +1000, Benjamin Herrenschmidt > > wrote: > > > This is useful on cloud instances with remote serial ports as it > > > can be > > >