[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 10/12] mini-os: add struct file_ops for file type socket
On 12.01.22 12:25, Andrew Cooper wrote: On 11/01/2022 15:12, Juergen Gross wrote:+static int socket_write(int fd, const void *buf, size_t nbytes) +{ + return lwip_write(fd, (void *)buf, nbytes);This void cast was bogus before, and can be dropped. lwip_write() already takes a const pointer. Okay. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |