Re: [Qemu-devel] [PATCH v2 02/20] sdhci: use deposit64()

2017-12-18 Thread Alistair Francis
On Thu, Dec 14, 2017 at 7:15 PM, Philippe Mathieu-Daudé wrote: > This makes the code slightly safer, also easier to review. > > Signed-off-by: Philippe Mathieu-Daudé I just looked at the surrounding code and realised what mask actually is set to. Now I

[Qemu-devel] [PATCH v2 02/20] sdhci: use deposit64()

2017-12-14 Thread Philippe Mathieu-Daudé
This makes the code slightly safer, also easier to review. Signed-off-by: Philippe Mathieu-Daudé --- hw/sd/sdhci.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index b7d2a20985..3c78033d49 100644 --- a/hw/sd/sdhci.c +++