Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1132833rdb; Mon, 19 Feb 2024 05:30:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXi8sCcdL/pNYk/Pma6ZhYx3EdZmLBu6AUibJbA1auv7x/ulaaBPEMI7GphR3zOd8/SDmakwZAvxCM4YVdNBYD+YNHbwSyGDZdjS5s1GA== X-Google-Smtp-Source: AGHT+IEe0C/BDzkWjLaNBPExhuDYgcjse1AmnOIbDHm0LXoQZ6jYwFwiS/TOWedozyw123WX5vZR X-Received: by 2002:a17:902:d2ca:b0:1db:e1f4:d454 with SMTP id n10-20020a170902d2ca00b001dbe1f4d454mr3659431plc.12.1708349400973; Mon, 19 Feb 2024 05:30:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708349400; cv=pass; d=google.com; s=arc-20160816; b=pw08+LksdEUt1GgRFN6dD/FZXr+XjrbSvhEa0r31Kb34UjKvyWokpyX+qkf+OYfjsx rFaTp+iWbYE7rmTNXu6PopK4Q1nWOPNIadfFksuYqAUzKcJ1RApcvvYlYKngfhSfUJLq gv5M2KPuSxy8MLsSMwcE5Ivogq8up4wBWuvSqojEmDOUL83nbH217l2qjQ36BO6GZAsn VyOGLtSs8PjRZk/YiQPNq9vAS23qrIgM9azOsKrzDrHSB5I8uXJ4MwAYIPDLC4a7XzI6 2r75dGeeWFVQ2lOJMicSUEJTc1pT9udEo78rNbIrqNHyDzLWiFXSIUbaKgGX3SMl3tQn 7OxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=PXfoi+WQ6MgXGzIpaS791WKCBDb96vUjuq/mUEJiuJE=; fh=RymfTjZCcjoLZ4QyuoC8uFkgj4QNYM/VblY/3wFaCcc=; b=xSyqxZxXHr2wWRNao4Jg6UbuOSiBgodw0X/zzzgXG5U13HSeHY9FbxF6bjHiydFIhQ 0hZyCeTS7zMIxOPNVguA5YzOJxO+7L6uwMCSwZxw+JTggp2pxkbL/TNYcg+mB3Ku/f5W Cc3Q0CbAVdZSJY1E879LzKPIbuWejYSBfh/GIYvfKpi/qFG3iKVLPTSnXDpRbyKAYEP1 F0o6YTGGttIxL9gs3EJUiGadziUu4Aq4tWcYgtNlOzAUnhTiIKibXqwPVz+F4+uVL/7G +yZuMg2TFhrrV4IfJznZD+WyxcTmywkya1McY/TvS+M+WRlq8XHpqH6iz4QQ00REvTeg x6jQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kzt+TfDd; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kUWL2YXT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-71388-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k11-20020a170902d58b00b001dbe74b5bf3si2378383plh.580.2024.02.19.05.30.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71388-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kzt+TfDd; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kUWL2YXT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-71388-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 06793B22E97 for ; Mon, 19 Feb 2024 13:15:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 254D4364C0; Mon, 19 Feb 2024 13:15:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="kzt+TfDd"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="INNiLbdH"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="kUWL2YXT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="v3b1YmU9" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 BD69936114 for ; Mon, 19 Feb 2024 13:15:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708348538; cv=none; b=HQ34bvfy8UjwMINVi5V5HlJG1+UIYDfqeq0GyrxgKH7JPPTgrVinOh2vhwi6ybULSOst+4vQ57Pc8ZWzsdpO0MHC1h4yEgDZbnWXXiZWIm4JypvYrnudOoS4weDtBTL19UVkc5wJT2kW9dvMBNXk+0PYptthHbYK4NHVc/ML0h0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708348538; c=relaxed/simple; bh=VokIuFmjRuTnELHVhNy8KTjZw+Ey716JcRtQTW4xQYc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=U5fs2UT99FUvuTRKylcRXKMPArb2RkGPsG2URP/AtnyQNpoa4KvDjaU92p0Gei9unZmQVnK/OI0RjViqWqT1kD4L0+AsJTtR/Trku2UDp0KfP5rOCb1XQ5Fehw5puEbbS7BhjSlrqqGiBQDGoczeKar/WTi5oNrCW8IL6lo42Iw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=kzt+TfDd; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=INNiLbdH; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=kUWL2YXT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=v3b1YmU9; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id D4F6821DFE; Mon, 19 Feb 2024 13:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1708348535; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PXfoi+WQ6MgXGzIpaS791WKCBDb96vUjuq/mUEJiuJE=; b=kzt+TfDd+mTxaKPIR4JctUKJ1SM0uYHfXf+NS0zGCSq3lNHzZjsgR45NTXK5cNCszeCrx+ guaHX13M+cEQ5PVjhTOAZWqkp/0+yJC4KSb4PYhKsv8v1n+A46khadcGV79dTQFyaE0UND S8IDavU/CyYBZCdYLxG16JKiYSVkwks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1708348535; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PXfoi+WQ6MgXGzIpaS791WKCBDb96vUjuq/mUEJiuJE=; b=INNiLbdHKwwai1Gct2MY4SrphrL9jLL4RMpMXfcFGKpIbXqxHs13qsdZevL/Bg+s/lgoRN 6cFxBIP4Xy7OCFCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1708348534; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PXfoi+WQ6MgXGzIpaS791WKCBDb96vUjuq/mUEJiuJE=; b=kUWL2YXTD0jMuBNMposXQcCjyF27PjwK3GUpnhi1vqgZMd3wqpUFsm5BKhwDwdT+2ooeN3 29hCLbg/sR0Xkqtx/ft1+xTHbbkBC5S/4ynMX31zRhAnMWZykutBiHiqXKuclcJlLIxoxZ 5ubKLc2DQ1kk5WFHH0N2IcN8ArukD2Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1708348534; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PXfoi+WQ6MgXGzIpaS791WKCBDb96vUjuq/mUEJiuJE=; b=v3b1YmU9Shky4lBX1wnH+Dlo5oLpt5pRtZ8QAvlu3tMDES/Dq4czEOe9lGMrnIyja93Nj5 u8c/dS9DdlM7wwDQ== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id C0E86139C6; Mon, 19 Feb 2024 13:15:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id 6kerLXZU02X7AgAAn2gu4w (envelope-from ); Mon, 19 Feb 2024 13:15:34 +0000 From: Daniel Wagner To: James Smart Cc: Keith Busch , Christoph Hellwig , Sagi Grimberg , Hannes Reinecke , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Wagner Subject: [PATCH v1 2/6] nvme-fc: rename free_ctrl callback to match name pattern Date: Mon, 19 Feb 2024 14:15:27 +0100 Message-ID: <20240219131531.15134-3-dwagner@suse.de> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240219131531.15134-1-dwagner@suse.de> References: <20240219131531.15134-1-dwagner@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: *** X-Spam-Score: 3.53 X-Spamd-Result: default: False [3.53 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email,lst.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.17)[70.04%] X-Spam-Flag: NO Rename nvme_fc_nvme_ctrl_freed to nvme_fc_free_ctrl to match the name pattern for the callback. Reviewed-by: Christoph Hellwig Signed-off-by: Daniel Wagner --- drivers/nvme/host/fc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c index 68a5d971657b..a5b29e9ad342 100644 --- a/drivers/nvme/host/fc.c +++ b/drivers/nvme/host/fc.c @@ -2428,7 +2428,7 @@ nvme_fc_ctrl_get(struct nvme_fc_ctrl *ctrl) * controller. Called after last nvme_put_ctrl() call */ static void -nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) +nvme_fc_free_ctrl(struct nvme_ctrl *nctrl) { struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); @@ -3384,7 +3384,7 @@ static const struct nvme_ctrl_ops nvme_fc_ctrl_ops = { .reg_read32 = nvmf_reg_read32, .reg_read64 = nvmf_reg_read64, .reg_write32 = nvmf_reg_write32, - .free_ctrl = nvme_fc_nvme_ctrl_freed, + .free_ctrl = nvme_fc_free_ctrl, .submit_async_event = nvme_fc_submit_async_event, .delete_ctrl = nvme_fc_delete_ctrl, .get_address = nvmf_get_address, -- 2.43.1