• Randy Dunlap's avatar
    io_uring: fix function args for !CONFIG_NET · 1e16c2f9
    Randy Dunlap authored
    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’
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: io-uring@vger.kernel.org
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    1e16c2f9
io_uring.c 203 KB