Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1033758ybt; Fri, 26 Jun 2020 18:47:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr8+xZXhcHWOF0H6GGjIe87yq+oNCKhJwReej6wf6aUPP/BIK5GUDVWjaLFGH82+6pNytm X-Received: by 2002:a17:906:784c:: with SMTP id p12mr5015891ejm.123.1593222444547; Fri, 26 Jun 2020 18:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593222444; cv=none; d=google.com; s=arc-20160816; b=OIx14fJjXMesSGYT0E5LNgFiE1BSjgQKfzCjrwH9txlAV4OmWH0SMGPwaHY9CsGXER 4JTEGQn/WgGFt0SisEsaGaRqQpqdEGkUQOP542wlVh4ZSI8/8xlRe5E1foUypa/5W1SD 6JrLbzuLAqPfwGyKKXJFVvG8fhdEJCY0TwKYGKG2uhZEryj/fOHSRWNQrvsBqTx9OzdZ Pnutdhw/u3rBunoL0pOfIp7jX90+rBjSb/5BVYHPvnFchQcaHc9tVUigIaDeqZT/lh9H a+SwgcnELs8m8HIi8UdxXMuN4RBdzSfm1WIOPDvfo/2NWAx6whI6VZp6aBBiN6NXX53t Af6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=+Fl9/p1pW4eUsRcsYTl5NIgKHt8gl0+TvFzz5VvaK48=; b=X1r8Hb1i1svUThHErJfhvgi/3/CNgRqMRQdraYrWioLbDXRXhrHdxRw8fgCO1qZIz0 mklM/3PNQJUNv4draOtW6tm8c5Vjf2EBEE5GU3rVX8Ne//uOJUnXQJEaww/DfxKtQWFg fJQ+HxAevu8sUlVV7SsW3q/bVtz05RUnsUSTsGqLIIqOmYd/CTnZy1mCSl65GqYma5/H kMYT++LQxeNOZvk4C3rA/UJ4cF6EsSt024TWJ5elyQuBhituaha3cWttrejNM3WEUt2h o1B2TGyPn6j6yL3vV7eYe9OVIECzK+5btH2e63VvSH9/2vbJ67moZ0olLgVYO9XzJ7VA WWSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="02bU+Pn/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr21si25904886ejc.489.2020.06.26.18.46.58; Fri, 26 Jun 2020 18:47:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="02bU+Pn/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726315AbgF0Bql (ORCPT + 99 others); Fri, 26 Jun 2020 21:46:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725952AbgF0Bql (ORCPT ); Fri, 26 Jun 2020 21:46:41 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 098E8C03E979 for ; Fri, 26 Jun 2020 18:46:41 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id g67so4864661pgc.8 for ; Fri, 26 Jun 2020 18:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=+Fl9/p1pW4eUsRcsYTl5NIgKHt8gl0+TvFzz5VvaK48=; b=02bU+Pn/U9ExWgoSYMuYzng1rROORWUAolR7MWBBnPzMdp5OGdRuG5DfpyJATB2ECo vFEY0zZK2CX6xhnPWh/iES6RV7WanH4Uvs8bu1NfeHManbNCbzKn1as2nrMhqX0neuzX VJDaX9xDPop7GRsA1Z60E9xOekxfiC1UOvSEpJH7OUBUNMpjFggXd3XEQb3YstM4qa1V QNzo+wRxiDMVyjE+On/9To5hTVwsf1GVSysy3V2JukU2d8BH+1++OW533NAiMzy8lX3f Iwroe38ZLsyuvAp2EbSMF+K5oeYQwvo9sJ5B07VnQLLmwLk1RnIZ7V9pOXDd1v/gmUfJ bgQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+Fl9/p1pW4eUsRcsYTl5NIgKHt8gl0+TvFzz5VvaK48=; b=FJtUWIBpBYzXzcrXblWXnVoLevE0BiqzlSqEGnHefI6KqBh0hzlH/neqtoG2ysGQKW P+M21oz5622KkxvgWI7W5RYZkhEMDnOimuW9CvZv5qUnzGmSNbsEctjM1UNM1lEvIq7l 0zryXUUpZqS3Vre3bHqSQrtHc2nFniI3mMRdMneQ0u9XyGPc+JlPHaRFYv+t/XGA+F1V RYI5OnWUrJd3wzY7KIMEMUgbE3Iw70fOB94Pdz2vchP7Wlw1gauRzL5flViyQq4Zi9ao hWF2AGu4D+r71OImI2GP+hKWnLDBJCdsCGRfahi3hpK0vr4VuR9XSfVtmAAsxKBLeAsr 3nlA== X-Gm-Message-State: AOAM5325vbGtucnuW5Z2uPO3gEwuHA8PnFmy8B2QyCfG0HWj8mDxLzvS /TLo02pd0qTeJ6OoAveUaU3loA== X-Received: by 2002:a63:3c41:: with SMTP id i1mr1400088pgn.349.1593222400583; Fri, 26 Jun 2020 18:46:40 -0700 (PDT) Received: from [192.168.1.182] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id y136sm27334607pfg.55.2020.06.26.18.46.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jun 2020 18:46:40 -0700 (PDT) Subject: Re: [PATCH] io_uring: fix function args for !CONFIG_NET To: Randy Dunlap , LKML , io-uring@vger.kernel.org References: From: Jens Axboe Message-ID: Date: Fri, 26 Jun 2020 19:46:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/26/20 5:32 PM, Randy Dunlap wrote: > From: Randy Dunlap > > 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