Re: [PATCH] io_uring: fix function args for !CONFIG_NET

From: Jens Axboe
Date: Fri Jun 26 2020 - 21:46:58 EST


On 6/26/20 5:32 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix build errors when CONFIG_NET is not set/enabled:
>
> ../fs/io_uring.c:5472:10: error: too many arguments to function âio_sendmsgâ
> ../fs/io_uring.c:5474:10: error: too many arguments to function âio_sendâ
> ../fs/io_uring.c:5484:10: error: too many arguments to function âio_recvmsgâ
> ../fs/io_uring.c:5486:10: error: too many arguments to function âio_recvâ
> ../fs/io_uring.c:5510:9: error: too many arguments to function âio_acceptâ
> ../fs/io_uring.c:5518:9: error: too many arguments to function âio_connectâ

Thanks Randy, applied.

--
Jens Axboe