Hi Pierre-Jean It's work on my side.
Tested-by Joris Offouga <offougajo...@gmail.com> Best Regards, Joris Offouga Le ven. 23 août 2019 à 23:04, Pierre-Jean Texier <pjtex...@koncepto.io> a écrit : > The following error appears: > > tools/env/fw_env.c:1149:25: error: lvalue required as unary ‘&’ operand > rc = write(fd, &ENV_REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE)); > > Fixes: d3716dd ("env: Rename the redundancy flags") > > Signed-off-by: Pierre-Jean Texier <pjtex...@koncepto.io> > --- > tools/env/fw_env.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c > index 876bf2b..b8b936f 100644 > --- a/tools/env/fw_env.c > +++ b/tools/env/fw_env.c > @@ -1146,7 +1146,7 @@ static int flash_flag_obsolete(int dev, int fd, > off_t offset) > return rc; > } > ioctl(fd, MEMUNLOCK, &erase); > - rc = write(fd, &ENV_REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE)); > + rc = write(fd, ENV_REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE)); > ioctl(fd, MEMLOCK, &erase); > if (rc < 0) > perror("Could not set obsolete flag"); > -- > 2.7.4 > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot