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 BE31BC77B75 for ; Tue, 23 May 2023 17:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237952AbjEWRHK (ORCPT ); Tue, 23 May 2023 13:07:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237998AbjEWRG6 (ORCPT ); Tue, 23 May 2023 13:06:58 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAE0310DD for ; Tue, 23 May 2023 10:06:48 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-25559dd520aso488635a91.1 for ; Tue, 23 May 2023 10:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1684861608; x=1687453608; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AnoJfWFwpqqb2y6h15+nUxCVtVesX1rNooY3eX+9ors=; b=0qzXySsDr9CmJ071N038R1YOWtQkaWX7lCQOfyXUZ6n8u1chm463uZFl9c20SYcsJo R3xLInWgQ8GC8Yz3QBDuJOxYhezgjFqDH5SoTCatqDe0CHyzbl4hJnhW07Wfj5kBp68z cvVfK70ELxu9+C1QyN7As/hjIv/G41S98iXKzeqEEiIL+2BE9ykKrZnFS+WgZn71Gz64 eKrMLoA8kEnS8u4oHYWepGYx4YJ+JUH8VjZdZ3dCUFeIBWOFJJMAbrkc0doV7dgy3HaW oW3U/24T1hG3bWnuMNvja8FOIvtQoMFyN40+VsEZ9GZM6cKzR8xHUg55Db0hDSiPVJAV vanQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684861608; x=1687453608; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AnoJfWFwpqqb2y6h15+nUxCVtVesX1rNooY3eX+9ors=; b=SqyCdq86kFP7hN5smPjXX/+p3ZRZD7aJATMhTHdNAIzTFDvH/SBij+4wNCSffHi1RQ 4AO9hSkbxU7y6hTar/2l1Uc/79N50bKka/tDWIXU9t7+nczQ6hXXBTTKZrR6EFLMBYjH y681J8yDgDnzPw3yOucJ8Z09pRds2q2acORimpqLQwTRomPM/wt47lXCDGAPEzNJktw6 v1brngzHS0ukp/hFG2CPdi5mm45S/6FO1wZ0IrlIkvwvviu2DUOn5ij1pVG25GeP07uP F3H07dGzvF/pSTAS96SzmTNNNf9Ry3qUXi9c0KkBAli1Y2gFurEktCwv8GzwSSV6xs8v BjhQ== X-Gm-Message-State: AC+VfDyxbdksdRuNpNyrFmx15vY8QSn3UVyHR7hzv++nQqmPSSHnat0u RVf4yWvWofhWGouHd0hdPkbZoQ== X-Google-Smtp-Source: ACHHUZ56YcHLobiBIeWnRupb8PcxkalCiDfSGPtOrLB11GMF/L4xDrPwRbkkPxrJiAsPoh2oLNWfPg== X-Received: by 2002:a17:90b:4c0e:b0:255:cbad:594f with SMTP id na14-20020a17090b4c0e00b00255cbad594fmr474866pjb.1.1684861608184; Tue, 23 May 2023 10:06:48 -0700 (PDT) Received: from ?IPV6:2620:10d:c085:21c8::151e? ([2620:10d:c090:400::5:c0b1]) by smtp.gmail.com with ESMTPSA id ch9-20020a17090af40900b0024df7d7c35esm6056486pjb.43.2023.05.23.10.06.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 May 2023 10:06:47 -0700 (PDT) Message-ID: <8f733dce-02df-2a0f-380c-0391bc0bff70@kernel.dk> Date: Tue, 23 May 2023 11:06:45 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] io_uring: fix compile error when CONFIG_IO_URING not set Content-Language: en-US To: lingfuyi , asml.silence@gmail.com Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, k2ci References: <20230523092629.3402710-1-lingfuyi@126.com> From: Jens Axboe In-Reply-To: <20230523092629.3402710-1-lingfuyi@126.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 5/23/23 3:26 AM, lingfuyi wrote: > when compile with ARCH=mips CROSS_COMPILE=mips-linux-gnu- , and CONFIG_IO_URING > is not set , compile will case some error like this: > drivers/nvme/host/ioctl.c:555:37: error: initialization of > ‘const struct nvme_uring_cmd *’ from ‘int’ makes pointer from > integer without a cast [-Werror=int-conversion] This was fixed weeks ago: https://git.kernel.dk/cgit/linux/commit/?h=io_uring-6.4&id=293007b033418c8c9d1b35d68dec49a500750fde and is also in 6.4 since -rc2. -- Jens Axboe