From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72CFDC77B75 for ; Mon, 8 May 2023 14:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234406AbjEHOkv (ORCPT ); Mon, 8 May 2023 10:40:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234362AbjEHOku (ORCPT ); Mon, 8 May 2023 10:40:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71ECAE3; Mon, 8 May 2023 07:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=q4o1nD2sqnVINUa4wJkpzUBUiyouZyIVltFc/M2sha0=; b=vm83vsBtzNa3RY/548w4l3FUGB rT/L5W0thNhYdspynIEDnrSsvhuf/dysX/xse1VtTYmun/Rt5R4Akg8MxElRrG5/qmpo8YvWcwesC HVxiUeRwDGQq+9M0ll4Bf3zA36xHLfejEALlZHWdpAfRRzlFUZCHUQBZuD9FdOKZ7VSjRzdDamk0r 6k+7u8PzIPkXkFB5IRWvLEqquairThEuOUtBYMQaCPakFRJ3Z+XS9ulHRuTn4PmBABR3pKGVPSZcT f7QBIh/eDvCU7MlE3HNdhLU9NnjKT57YsfDRku22M6xbFAWePIkdNp9qH2C8cCI/h+JYkin159cdF tGEywpAg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pw22N-000mND-1Y; Mon, 08 May 2023 14:40:27 +0000 Date: Mon, 8 May 2023 07:40:27 -0700 From: Christoph Hellwig To: Arnd Bergmann Cc: Jens Axboe , Keith Busch , Breno Leitao , Pavel Begunkov , Arnd Bergmann , Kanchan Joshi , Anuj Gupta , Geert Uytterhoeven , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] io_uring: add dummy io_uring_sqe_cmd() helper Message-ID: References: <20230508070825.3659621-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230508070825.3659621-1-arnd@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Mon, May 08, 2023 at 09:08:18AM +0200, Arnd Bergmann wrote: > Add a dummy function like the other interfaces for this configuration. Why do we need a separate dummy? The structure is unconditionally defined, so we can just unconditionally define the helper.