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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16BE0C35274 for ; Mon, 18 Dec 2023 15:38:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=frwg+Fv/Md0nePEz72ENwBzVnmZF61u9zbsIo6n5Yd0=; b=NFkwfKuAxq4xrQg04RKKpZg+12 DASvcYN8uuqmxSkNjZ2r8wOpfSGE6B26RHg1Hp5NNMgoFFLjzxLHJkMYPkm01+BlRi8fhMIJDvFw7 xY1VtxSYQOzHzXacMAfecKEmnD+3wOLT4j98O7bso/sNLwT+w4n+DfSC9V6BbDDWB7hfF2KPzLxrC ay6PdIIBsILUFTrByrDnLayc0Y8l0muIyuDWFwMtZTzFARLXf6weUK7ud3lzyi0p/lvsjV/ngUapq OSaLWyhbsSpVb3MsAJAfLNgCKYdzM459xObIPVqZQWVt3Rr5K6nrbjNK4V+ONGMd8H8Wn7cqG1pbc TvL6F3Yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFFh2-00BF3Y-18; Mon, 18 Dec 2023 15:38:08 +0000 Received: from smtp-out2.suse.de ([2a07:de40:b251:101:10:150:64:2]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFFgz-00BF32-31 for linux-nvme@lists.infradead.org; Mon, 18 Dec 2023 15:38:07 +0000 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-out2.suse.de (Postfix) with ESMTPS id 167DE1F37E; Mon, 18 Dec 2023 15:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702913884; 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=frwg+Fv/Md0nePEz72ENwBzVnmZF61u9zbsIo6n5Yd0=; b=BImCcHWe6ul37PlrDid7FsfnhEKN8g9Zj740OF1fUEcjvGCEynQjHs+5RN/wfG7bINC+qN YDl6OBhF5HdgZsriUAYHyDPQOeVBnGDBCg4mgGRgEn5mkda7T1HpD/0KdmztxNHggRTVkA KQPecU/lPWGZw3bOu+hQ5uayjx1P2e8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702913884; 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=frwg+Fv/Md0nePEz72ENwBzVnmZF61u9zbsIo6n5Yd0=; b=LozNsC1+/s2Kyk6sJQCld43PHLM5pzF0qO+YhaIYuLxsyeBg6GUYcfwR9/tT5Puq3ZJnM3 8LlOPzIknls0o6CA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702913884; 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=frwg+Fv/Md0nePEz72ENwBzVnmZF61u9zbsIo6n5Yd0=; b=BImCcHWe6ul37PlrDid7FsfnhEKN8g9Zj740OF1fUEcjvGCEynQjHs+5RN/wfG7bINC+qN YDl6OBhF5HdgZsriUAYHyDPQOeVBnGDBCg4mgGRgEn5mkda7T1HpD/0KdmztxNHggRTVkA KQPecU/lPWGZw3bOu+hQ5uayjx1P2e8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702913884; 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=frwg+Fv/Md0nePEz72ENwBzVnmZF61u9zbsIo6n5Yd0=; b=LozNsC1+/s2Kyk6sJQCld43PHLM5pzF0qO+YhaIYuLxsyeBg6GUYcfwR9/tT5Puq3ZJnM3 8LlOPzIknls0o6CA== 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 027E913BC8; Mon, 18 Dec 2023 15:38:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id AT5RAFxngGWufQAAn2gu4w (envelope-from ); Mon, 18 Dec 2023 15:38:03 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Christoph Hellwig , Sagi Grimberg , Keith Busch , James Smart , Hannes Reinecke , Daniel Wagner Subject: [PATCH v3 02/16] nvmet-fc: remove unnecessary bracket Date: Mon, 18 Dec 2023 16:30:50 +0100 Message-ID: <20231218153105.12717-3-dwagner@suse.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231218153105.12717-1-dwagner@suse.de> References: <20231218153105.12717-1-dwagner@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [0.82 / 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]; REPLY(-4.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.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.08)[63.42%] Authentication-Results: smtp-out2.suse.de; none X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_073806_128378_6894AF18 X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org There is no need for the bracket around the identifier. Remove it. Signed-off-by: Daniel Wagner --- drivers/nvme/target/fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/target/fc.c b/drivers/nvme/target/fc.c index bd59990b5250..bda7a3009e85 100644 --- a/drivers/nvme/target/fc.c +++ b/drivers/nvme/target/fc.c @@ -1031,7 +1031,7 @@ nvmet_fc_match_hostport(struct nvmet_fc_tgtport *tgtport, void *hosthandle) list_for_each_entry(host, &tgtport->host_list, host_list) { if (host->hosthandle == hosthandle && !host->invalid) { if (nvmet_fc_hostport_get(host)) - return (host); + return host; } } -- 2.43.0