On Mon, Oct 10, 2022 at 1:46 PM Daniel Kiper <dki...@net-space.pl> wrote:

> On Mon, Oct 10, 2022 at 09:43:20AM -0700, Tuan Phan wrote:
> > On Mon, Oct 3, 2022 at 11:30 AM Tuan Phan <tp...@ventanamicro.com>
> wrote:
> >      Fix the incorrect return value of __clzsi2 function.
> >
> >      Fixes: e795b90 ("RISC-V: Add libgcc helpers for clz")
> >      Signed-off-by: Tuan Phan <tp...@ventanamicro.com>
> >      Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>
> >      ---
> >      V2: Drop redundant brackets
> >      Signed-off-by: Tuan Phan <tp...@ventanamicro.com>
> >      ---
> >       grub-core/kern/compiler-rt.c | 2 +-
> >       1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >      diff --git a/grub-core/kern/compiler-rt.c b/grub-core/kern/compiler-
> >      rt.c
> >      index 2057c2e0c..738bb8420 100644
> >      --- a/grub-core/kern/compiler-rt.c
> >      +++ b/grub-core/kern/compiler-rt.c
> >      @@ -431,7 +431,7 @@ __clzsi2 (grub_uint32_t val)
> >
> >         for (; j; j >>= 1)
> >           {
> >      -      if ((temp = val) >> j)
> >      +      if (temp = (val >> j))
> >               {
> >                 if (j == 1)
> >                   {
> >      --
> >      2.25.1
> >
> > Hi Daniel,
> > Any chances that this patch will be merged soon?
>
> It has been merged together with other patches last week.
>
> Daniel
>
Awesome, thanks!
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to