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 68E11C43219 for ; Tue, 4 Oct 2022 16:42:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbiJDQmF (ORCPT ); Tue, 4 Oct 2022 12:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229592AbiJDQmB (ORCPT ); Tue, 4 Oct 2022 12:42:01 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC3B5E679 for ; Tue, 4 Oct 2022 09:42:00 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id 64so10915624iov.13 for ; Tue, 04 Oct 2022 09:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date; bh=lt3R8izx9EnX89I3uY2yDhaSLHndLcmUEL/LtZodjaY=; b=4whC8w21HxpHbBgXcbkK+k9Dme0ceJdK8HQgGSiK1NrT+tiSOV/WovVFQVtTt/HWsH PxDSm9IMoMN56VIypuQlxPir7yKTu3416OSfvxdz8wjrQPdKsuB5aLzIV2tMXVjsZnxx Zf2AxvfhM6NjRd4iy50dYj+5WYz7sXolHOtKjF2wcddvnYdA+2TiTsyZqm2hKWuOGUA1 bW+BXMfOhKohux5uY5//0UM4H8Xe8yZMttoZXGr1P3qh8usqy3zq7ZUsGAF+hYY6tvz9 KWcZGkXaLU9IbqgJkdQV+Ot4xTMx3/NEgTSGQ/PrL53v95l8n4h64mB4vO6f1VgvD9yx htkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=lt3R8izx9EnX89I3uY2yDhaSLHndLcmUEL/LtZodjaY=; b=i0ENKA3v92tPnJ0ro91jMYJDQu4Klt5b4LuNampLRU7/plcQLApNpmjst5cp2LGujO /pnpJYlvhFvFjFfpHdaBwIkZ3yzBo1hicu2JxXbmePorIPPPUPWr4azbEoeHS/UCCnh6 tCZSrgX0Q2bil/hecYBssDQtyrr1Jc0KRuGZk6/UwQy1dvGTc0m6bBbFIv/jutc1g7zL j9fEgSfomW9H2ip0+XKr6wMDwFcoA2tr+MK7lAuLMDJ5C9gFxSQlAsvbVCBTx/jESWtw z7nQtACTJSLGMkdIgze4I/oPEYG3pM33M7XbGoIqh5pvBawSqzccDECCcQYl9RFeuFix 1Azw== X-Gm-Message-State: ACrzQf2D8Ma8TALJ09opAtCR0/YWvXLfmGqpeFHBUC9iCsGcGKe86ZFh WUo2do19CtJ5Nb23PbP3+ub1E/b874owew== X-Google-Smtp-Source: AMsMyM66XfQoGK2nj7BD85MJUj1tCABZ27DOBIP9gg+iCQnkjMCaxKGu+fuKGHRY23gOP5qYfUMukw== X-Received: by 2002:a02:9687:0:b0:363:50b6:6ec7 with SMTP id w7-20020a029687000000b0036350b66ec7mr1464489jai.39.1664901719184; Tue, 04 Oct 2022 09:41:59 -0700 (PDT) Received: from [127.0.0.1] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id c72-20020a02964e000000b003633ef39bd3sm1638823jai.92.2022.10.04.09.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 09:41:58 -0700 (PDT) From: Jens Axboe To: Kanchan Joshi , Anuj Gupta , Pavel Begunkov , Geert Uytterhoeven Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <7404b4a696f64e33e5ef3c5bd3754d4f26d13e50.1664887093.git.geert+renesas@glider.be> References: <7404b4a696f64e33e5ef3c5bd3754d4f26d13e50.1664887093.git.geert+renesas@glider.be> Subject: Re: [PATCH -next] io_uring: Add missing inline to io_uring_cmd_import_fixed() dummy Message-Id: <166490171822.91699.6395333922745034798.b4-ty@kernel.dk> Date: Tue, 04 Oct 2022 10:41:58 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.11.0-dev-d9ed3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Oct 2022 14:39:10 +0200, Geert Uytterhoeven wrote: > If CONFIG_IO_URING is not set: > > include/linux/io_uring.h:65:12: error: ‘io_uring_cmd_import_fixed’ defined but not used [-Werror=unused-function] > 65 | static int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw, > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > > Fix this by adding the missing "inline" keyword. > > [...] Applied, thanks! [1/1] io_uring: Add missing inline to io_uring_cmd_import_fixed() dummy (no commit info) Best regards, -- Jens Axboe