Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2579601rbb; Wed, 28 Feb 2024 06:21:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXMZu5thsCvmEMJaENjQQfVBu+YXmZwgR0FC6J2dYPOOGSfBDoc2q45AjHrTKXxJaSBkKBrPEinbWmZo9V6Mx37QirkC7WdAdcpxdhFjw== X-Google-Smtp-Source: AGHT+IGg8iV/L9EkkV4ZvjzEcGkOXhe7ZJcbWK3sJNttyB8a4dMiTH4fzqfClK9Ar2VPjvUeys3T X-Received: by 2002:a05:6870:35c8:b0:21e:efd6:5ccf with SMTP id c8-20020a05687035c800b0021eefd65ccfmr14364355oak.33.1709130116458; Wed, 28 Feb 2024 06:21:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709130116; cv=pass; d=google.com; s=arc-20160816; b=JEpQfT4UVs/GXh/iODRNJnidRgxMtKrzSS3hgdzBFOQqLphx2OKZPWxSJSgXwrsvNP H9kInREKZMk1z8ELfG5M6DXqmCIM9eutvhSnXeDnhdtNqp/X86ah4DjAk+aCFgD9DBN9 nP680Rbrg5VuBp7qUcubPMZSt+k3jafKljIwIncykkN3Nu0NZmL2xQPQwLVFYtKq7cv6 qjy0xKEcSYo2/w0i/Kqdxh6er62nCsbKwqOmknHwc0mQTFwdNE+tPK496uLOef+R9RFh govfLs23xJry8GpYgh79D3jieeJAFiauHl9c026PP/H2gzxL2ZpYWhiqUVCdVWG+3fa6 775Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=7LhYyEdJEEIz0w3oxk1CxMivJRZFIcNl5Zw/pnXVcaA=; fh=for3C5ZbvEj/8QntLVFBXHRZxPy+bx31JsbHrFIpnU8=; b=Eiaw7bym9iYZqM/HC08r48Lbw4OCiKRmAHXMjYTqLwAYP4cowIjANg2cYqSym9Gw6H u+JXNsDJUMZFR26Ld+UTZk/d1ozZd2hdU1fs2dsuVB+bJtJ6aD+tmHQFhJrksvqOwV1V Jwjl1UJPayOqG6olnY7cbFD79d38LwhXfICAjpnKeWFtQAiVMBayveGS9Z08x3JEQYxj 8hwj7DUiW3qq/hZU689sLBnXG04jRFmlI161fC7Pwz+lgKcKDGOCE57fCAd8zt5hAxt+ i6ti2IveHWlDUHlH1CWI73nv4e3RqN7iT8HPdY/rdyGQGCPY9c/8OWLdqckzSuszw9QP Wubg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=p1LOzAHL; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-85174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85174-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l23-20020ac84a97000000b0042e5c5501d5si9152148qtq.501.2024.02.28.06.21.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 06:21:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=p1LOzAHL; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-85174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85174-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 343AB1C22BBC for ; Wed, 28 Feb 2024 14:21:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4FD3159573; Wed, 28 Feb 2024 14:21:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="p1LOzAHL" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE3E0152E14 for ; Wed, 28 Feb 2024 14:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709130106; cv=none; b=s+Srdu+kV8wuEpuLNnovbfE9leC8tkifMF5HjLOlnXqS9+8n/8ekAXx75op988XSAqKQpfUzKK8VUx0u+B6Ao9etKR0DVAs6mrjAsjyLZorM9WDLBWKHiUeVi0bULo41Mho3GotkVO9uxqzlxvazmqfSHjYUDRxHAOoUfjvdXyY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709130106; c=relaxed/simple; bh=/IB3SBMJ8eU/LRv5ylO26FlaNO00FblZ/RbV/4pvBmM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RQtyoXuM8dWO5TBpgqtAhqcDVxwNiQi7B7+XXFtOIOJH46P89//z0fFn5kkvgsq9PPgyBVZJYQs+zYqM7b33BWbHVyU5VbEjQ9LKDZbFHk5TGVzLP0oAEhnfHDBY99sRjZqDf45VGtzOAt1vsD0RA//jIZfSPR+za3PPxg+rEbY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=p1LOzAHL; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6e45c698090so1115503b3a.0 for ; Wed, 28 Feb 2024 06:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1709130104; x=1709734904; darn=vger.kernel.org; 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=7LhYyEdJEEIz0w3oxk1CxMivJRZFIcNl5Zw/pnXVcaA=; b=p1LOzAHLagNxFlXnlIhWA9H49uAbZLzqinpgkKbBZef92TV16QiHo+EH//BzB2BkJ7 jM4smlFgy8jEFMItl0pVjWPBlxB+iJAl5wLH1HhSTzAhB5ZNbMdpUlEugk0YINn9GY/t eDwlUTOEedWSWl53YiYHjtQ7IfhYnCRTc5VW69+8tIgLRb/N3musJF91W9S1fcQaLpY0 8vAn8eOqcUlt/h8Dwx09zmXR1RsApnTFQ/IaT8KS1gk/yAMagdCj0qNc/LY2KqsYWhQs IfcPBtJin76nrYHJSL5p/mmJqhXfhLfQ3gLgem0pxsNf6nAuP2iV7lOi50wZuu5cOOV7 6haQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709130104; x=1709734904; 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=7LhYyEdJEEIz0w3oxk1CxMivJRZFIcNl5Zw/pnXVcaA=; b=V3XzZY1rBChO0TtkCxSMD2p1xd9gtqbsPVKp/Bj/yiG5wlhg1BcVXNsLFQdBWWylA3 Xe0eAOCo0KU/pFGLtHsrKdbyDAcI4JBSZ2Q9n0nhc/GlpDMkkLvsghARBJTKmIfqmyWd U+AZRHNX8vNFLmSlPP7RtqZ0WGeiy2Hlwh94TvyLXlIi8oZEM9hPZUYgQcb8BBlvUf+g /U8pWzNlyoMHg9W/2bCdNnDWWlae8EhL59bqhvQgyoWwJyhhOP8JS45MMSnkNOo19glW zzPpajLXwVyhTZl3EyT5RfqudJe6DXWLjPpks7W+YaCTFv6WV/UjHRrQVRiCJwYuSWAv S1HA== X-Forwarded-Encrypted: i=1; AJvYcCVxQBAIDneKowu3Yc4LPIe7loDtv2JgPeQ0tu+LbZ/Gie8AFiEWSh5pmK//Qkus8SgLlAdvwJKrVc1S63+a0pDOkfGSD33rcO0vr9tH X-Gm-Message-State: AOJu0Yzzztawc2C+VOt6LiOdJW5LfaJ+PQLJRMpxdyjxdaDChXbVKVhc fkq10IPMykGbYN+5uBe+HLGrn03tcLLf8rDV5hMsQTfOXLc2IKWTUCt42Jnilf36wBuzS7T/+3x I X-Received: by 2002:a05:6a00:2da4:b0:6e5:109d:8373 with SMTP id fb36-20020a056a002da400b006e5109d8373mr10517138pfb.0.1709130104239; Wed, 28 Feb 2024 06:21:44 -0800 (PST) Received: from [192.168.1.150] ([198.8.77.194]) by smtp.gmail.com with ESMTPSA id d18-20020a637352000000b005dc5289c4edsm7654764pgn.64.2024.02.28.06.21.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Feb 2024 06:21:43 -0800 (PST) Message-ID: <2dea08f3-03c8-46aa-af57-45cbd9556df4@kernel.dk> Date: Wed, 28 Feb 2024 07:21:42 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] bdev: make blockdev_mnt static Content-Language: en-US To: Jiapeng Chong Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20240227081958.89092-1-jiapeng.chong@linux.alibaba.com> From: Jens Axboe In-Reply-To: <20240227081958.89092-1-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/27/24 1:19 AM, Jiapeng Chong wrote: > The blockdev_mnt are not used outside the file bdev.c, so the modification > is defined as static. > > block/bdev.c:377:17: warning: symbol 'blockdev_mnt' was not declared. Should it be static? What is this against? -- Jens Axboe