Commit 9f53b66c authored by Benjamin LaHaise's avatar Benjamin LaHaise

eliminate a compiler warning for aio_write in net/socket.c

parent 4027d6e3
......@@ -619,7 +619,7 @@ static ssize_t sock_aio_read(struct kiocb *iocb, char *ubuf,
* is readable by the user process.
*/
static ssize_t sock_aio_write(struct kiocb *iocb, char *ubuf,
static ssize_t sock_aio_write(struct kiocb *iocb, const char *ubuf,
size_t size, loff_t pos)
{
struct sock_iocb *x = kiocb_to_siocb(iocb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment