Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp332322rdh; Mon, 18 Dec 2023 23:26:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4LrIpJHSr0S2cEw9IOdX0ppGC4ZM+cSWbDoi43fx9rJ9HShAP2GRa0dwdn6f/T6Pz6Sj+ X-Received: by 2002:a05:6a20:4f91:b0:18f:d275:9f33 with SMTP id gh17-20020a056a204f9100b0018fd2759f33mr16520007pzb.119.1702970798349; Mon, 18 Dec 2023 23:26:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702970798; cv=none; d=google.com; s=arc-20160816; b=BM4j3klYmpgIajCApC1REd02U9PTa2D2GGRzUOWAhmk89R+JbKxZPJWLv06ZR7iAFo NOUGxKrBeW1lvQY4wvBXerLocabh3ARmQkKhCvcwgvCsN2uOuMYeAzKt5h+97/eay8J8 sLtUwhI9xBCHJJl67QAACkOimLGls9T8QNc9K0aGuD5tJ6joo++NuRVOFBGH6YzzaWOy FValXjJnttO0lAJUCxemvLVQtLZmmpfU1yJxX8dMB2PRLLYL6Z0ZVPxo2ul8sbUpflj7 /bVRdeu2v9njtt6teqjoTK1OAewmH/hu4bv7gIZRzvAoS3cFAOY2LmZZS2c/M7CXZjf3 AbBg== ARC-Message-Signature: i=1; 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 :dkim-signature:dkim-signature:dkim-signature; bh=nZkyNsXHdr4aOnSuf8AuFMNumXjRVj+fueK77OqUVok=; fh=Ob8FspbdAv2lvfy9oyzcNqJb9FlG/MYewgbmONDw7dw=; b=nfzz5ZwRUTQb/nZ5FFUKPuAniPQWKJMg+Nu+/pwvTp/ETQcwx1GIEZ8zEQP5G4Zyvx JHhWpa5Pz8T1H6Z3/qmfBf7GHz5fa5UdOlWaHSD7mYWXjVvVLYOSwika7nPwbOxNyJ14 ZCeLHLVzxIrHMz+yuXIk5SvGH9Kh56vbL+DMEYjR9D8+3kgIlsSiyVIkrZ3zyiYnNo6Z Ci5WZOLmfJPLJ7vqF4Ra9IDGxz0TbsEmEITbBhd5VtabkHO+BrWF0DBDwZORStH4S4Qw p7qKTwZHfe/4a/LDhGZyY8L6fT02dT101G3i40xatbS05ddk4LXRl4O30d/Pa3F5N24W bneA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yOE3WJRX; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yOE3WJRX; dkim=neutral (no key) header.i=@suse.de header.b="/mqU1Nj/"; spf=pass (google.com: domain of linux-kernel+bounces-4802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r7-20020a17090a4dc700b002802d12083fsi752939pjl.54.2023.12.18.23.26.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 23:26:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yOE3WJRX; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yOE3WJRX; dkim=neutral (no key) header.i=@suse.de header.b="/mqU1Nj/"; spf=pass (google.com: domain of linux-kernel+bounces-4802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4802-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 00C63286765 for ; Tue, 19 Dec 2023 07:26:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 680B5C2D5; Tue, 19 Dec 2023 07:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="yOE3WJRX"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="/mqU1Nj/"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="yOE3WJRX"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="/mqU1Nj/" X-Original-To: linux-kernel@vger.kernel.org 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 3A060C13E for ; Tue, 19 Dec 2023 07:25:28 +0000 (UTC) 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 imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (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 5F1A0220C5; Tue, 19 Dec 2023 07:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702970726; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nZkyNsXHdr4aOnSuf8AuFMNumXjRVj+fueK77OqUVok=; b=yOE3WJRXoMIkEDKlh89pa0Nu+oenGbV4KFYZWzWmmiCAqmgniJbasmaZA8pKt2WmjdUlJG 9/83WQ8mbRu1fqmDaTBHG2LoNYzxOFEIAQI9/9VZazAP0fsEMNL3I281l7F/qGO8mbjior LrY0ZI3trrLWss3T+B1Rp+7a5u+TMQo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702970726; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nZkyNsXHdr4aOnSuf8AuFMNumXjRVj+fueK77OqUVok=; b=/mqU1Nj/yOhpZP3MdBaGc/dkFPs5xseMvqCuhJGZU6ECq44/ksutqUyt5y7zCxyC3I1TlA A+kXxJfv69Jr6GDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702970726; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nZkyNsXHdr4aOnSuf8AuFMNumXjRVj+fueK77OqUVok=; b=yOE3WJRXoMIkEDKlh89pa0Nu+oenGbV4KFYZWzWmmiCAqmgniJbasmaZA8pKt2WmjdUlJG 9/83WQ8mbRu1fqmDaTBHG2LoNYzxOFEIAQI9/9VZazAP0fsEMNL3I281l7F/qGO8mbjior LrY0ZI3trrLWss3T+B1Rp+7a5u+TMQo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702970726; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nZkyNsXHdr4aOnSuf8AuFMNumXjRVj+fueK77OqUVok=; b=/mqU1Nj/yOhpZP3MdBaGc/dkFPs5xseMvqCuhJGZU6ECq44/ksutqUyt5y7zCxyC3I1TlA A+kXxJfv69Jr6GDA== Received: from imap1.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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id EFC98136A5; Tue, 19 Dec 2023 07:25:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id 6Dt9NmVFgWVmcgAAD6G6ig (envelope-from ); Tue, 19 Dec 2023 07:25:25 +0000 Message-ID: Date: Tue, 19 Dec 2023 08:25:25 +0100 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 v3 02/16] nvmet-fc: remove unnecessary bracket Content-Language: en-US To: Daniel Wagner , linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Christoph Hellwig , Sagi Grimberg , Keith Busch , James Smart References: <20231218153105.12717-1-dwagner@suse.de> <20231218153105.12717-3-dwagner@suse.de> From: Hannes Reinecke In-Reply-To: <20231218153105.12717-3-dwagner@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Level: X-Spam-Level: X-Spamd-Result: default: False [-5.95 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BAYES_HAM(-1.86)[94.18%]; MIME_GOOD(-0.10)[text/plain]; REPLY(-4.00)[]; 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)[7]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] Authentication-Results: smtp-out1.suse.de; none X-Spam-Score: -5.95 X-Spam-Flag: NO On 12/18/23 16:30, Daniel Wagner wrote: > 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; > } > } > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Ivo Totev, Andrew McDonald, Werner Knoblich