[LTP] [PATCH] ustat02: Fix EFAULT in 32bit compatibility mode

Li Wang liwang@redhat.com
Mon Jul 22 11:55:03 CEST 2019


On Fri, Jul 19, 2019 at 11:19 PM Steven Price <steven.price@arm.com> wrote:
>
> The size of dev_t is larger than 32 bits which causes the dev argument
> to be passed incorrectly. On Arm this means that the EFAULT test case
> actually returns EINVAL because the device number isn't recognised.
>
> Signed-off-by: Steven Price <steven.price@arm.com>
Acked-by: Li Wang <liwang@redhat.com>

Thanks for the fix, this patch works for me,

-- 
Regards,
Li Wang


More information about the ltp mailing list