We want to start at 0 and do not care about the updated value. Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> --- arch/x86/ia32/ia32_aout.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index a09fc37ead9d..f2029db06e2b 100644 --- a/arch/x86/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c @@ -247,10 +247,9 @@ static int load_aout_library(struct file *file) unsigned long bss, start_addr, len, error; int retval; struct exec ex; - loff_t pos = 0; retval = -ENOEXEC; - error = kernel_read(file, &ex, sizeof(ex), &pos); + error = kernel_read(file, &ex, sizeof(ex), NULL); if (error != sizeof(ex)) goto out; -- 2.28.0