On Thu, Sep 06, 2018 at 01:05:25AM -0700, Atish Patra wrote:
> +#elif defined(CONFIG_64BIT)
> +     if ((strcmp(mmu_type, "riscv,sv39") != 0)
> +         && (strcmp(mmu_type, "riscv,sv48") != 0))
> +             return;

This should be:

        if (strcmp(mmu_type, "riscv,sv39") != 0 &&
            strcmp(mmu_type, "riscv,sv48") != 0)
                return;

Otherwise looks good:

Reviewed-by: Christoph Hellwig <[email protected]>

Reply via email to