On Tue, Jul 5, 2022 at 12:54 AM Ammar Faizi wrote: > From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> > > A prep patch to support aarch64 nolibc. We will use this to get the > page size by reading /proc/self/auxv. > > Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> [...] > +static inline int __sys_read(int fd, void *buffer, size_t size) > +{ > + return (int) __do_syscall3(__NR_read, fd, buffer, size); > +} __sys_read should return ssize_t and the cast should also (ssize_t). With that fixed: Reviewed-by: Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxxxx> tq -- Viro