Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp980449rwb; Fri, 28 Jul 2023 02:57:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlGUbD3ZYG5YWbIHskswiBe95zj0szXFrYefJHUDo4VvdKRhoeXronxTgLgpNcaeKTLEhlVI X-Received: by 2002:a17:906:6484:b0:977:4b64:f5e8 with SMTP id e4-20020a170906648400b009774b64f5e8mr1533714ejm.57.1690538257327; Fri, 28 Jul 2023 02:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690538257; cv=none; d=google.com; s=arc-20160816; b=nSVOiXp1hMI1cW97l0phUEq6J+hBhb+GM52JSzVJhFUOMh8Tx0AQxUxfQy9ILPW7tb HS8JIccMr9OfSmiYTF0TavcgbLM+MtFULHGvsj+Gex8ZQnl2rwkX/2TaHP8M/Vl+YWuI 2FQj2yCg1BSE3vSBHWef8TF0fquuhesnBXCIdp7ckpH0EKd/NvFlA7QFRpXgDgPxNhoV F/SS+HOxapRS4OBBfatiZZqoXdOTmZTqMJPkS63C44mBhvMpKXXKni2H0LJ9ieIjK/Yo uw+/4cCX6eFo/HUoJSekYGAjp4BlAqC/DilAS7ecritP1fKx5n+ZrWIfZd2dpStrhIjT JnrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=ZKtnymo9BLKjAzCCZVciNLZvMc0xORujL4hCyHzOE4c=; fh=UZ7tshynsnWqPWM0ae7goCx8YzR1dwh9q+RmKqv+QK4=; b=PD3F5enq23y4WN/9VRdOyfjS1xzHWmRsefg+tSOsMscg+4pQjE9F3mIm3pxirGRsCv tfrAHVZbgNuk73OlXqqplUlAYD1ScGUKcOPkmZhPYj4clFj/hjxTtqDOmWrQLReHySsB o3ogl3cZHwUumWqlRZ6DYC5BbSmguFXd4EiLUENm9GWWrjIqpAYmIFmzN4ZINRamOTv6 yICZo3q9WE4Uev/cdymCda9TB1FbDDjXZalphTEfw8UjsIm/F+xm2A4VDSsltGatbDb7 lwVAmWJeLLeeSmh238Stqx+ynx/IRdKu1e+vbkJHiDy4yyCPr/Z512GAB0tzaFZUFpCO 2fUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gXv6eHrv; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ci18-20020a170906c35200b0099bccc6164asi1418398ejb.503.2023.07.28.02.57.12; Fri, 28 Jul 2023 02:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gXv6eHrv; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235258AbjG1Ix4 (ORCPT + 99 others); Fri, 28 Jul 2023 04:53:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235396AbjG1IxT (ORCPT ); Fri, 28 Jul 2023 04:53:19 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F26203A94; Fri, 28 Jul 2023 01:52:24 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 998D51F8A4; Fri, 28 Jul 2023 08:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1690534343; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZKtnymo9BLKjAzCCZVciNLZvMc0xORujL4hCyHzOE4c=; b=gXv6eHrvR/UWfZtWKuPI8GUxOYdPbsRflxT+0gHNH3rzlODSYFZSAZYlL4phngo5lr0iLW +Gw0rh/oclnk9UvR5I1yG4uAmzn7xyt1E/sZumrGU6hW1RVZCk7PWyYiKf60nvagZAwk1i 6De5KlmovVCkdSS44cMosq2RFacZmHQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1690534343; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZKtnymo9BLKjAzCCZVciNLZvMc0xORujL4hCyHzOE4c=; b=JzlQ9CwhlQ0T1P9qLKLupGJ0J3d2l4fnF0oKTrdTsFGTJtyGLnAkLA/LmhI6G/RKun5pUi eX2r2ot3yc9iWcDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 89B1B133F7; Fri, 28 Jul 2023 08:52:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id KdT3IMeBw2TMdQAAMHmgww (envelope-from ); Fri, 28 Jul 2023 08:52:23 +0000 Date: Fri, 28 Jul 2023 10:52:23 +0200 From: Daniel Wagner To: Shinichiro Kawasaki Cc: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Chaitanya Kulkarni , Max Gurtovoy , Hannes Reinecke , Sagi Grimberg , James Smart Subject: Re: [PATCH blktests v1 05/11] nvme/{041,042,043,044,045,048}: Remove local variable hostnqn and hostid Message-ID: References: <20230726124644.12619-1-dwagner@suse.de> <20230726124644.12619-6-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 28, 2023 at 08:10:09AM +0000, Shinichiro Kawasaki wrote: > On Jul 26, 2023 / 14:46, Daniel Wagner wrote: > > Commit acc408477e85 ("nvme/{041,042,043,044,045,048}: Use default > > hostnqn and hostid") switched the test over to use the default > > hostnqn. It missed the change to remove the local variable and > > use the def_hostnqn/def_hostid directly. > > [...] > > > diff --git a/tests/nvme/043 b/tests/nvme/043 > > index 6392bd8b2492..5569a7a58ad5 100755 > > --- a/tests/nvme/043 > > +++ b/tests/nvme/043 > > @@ -26,17 +26,13 @@ test() { > > _setup_nvmet > > > > local port > > - local hostid > > - local hostnqn > > local file_path="${TMPDIR}/img" > > local hash > > local dhgroup > > local hostkey > > local ctrldev > > > > - hostid="${def_hostid}" > > - hostnqn="${def_hostnqn}" > > - hostkey="$(nvme gen-dhchap-key -n ${subsys_name} 2> /dev/null)" > > + hostkey="$(nvme gen-dhchap-key -n ${def_hostnqn} 2> /dev/null)" > > As I commented on the previous patch, the left reference to subsys_name is > replaced def_hostnqn. It means that the -n option value changes. I guess > this change is fine for this test. Could you confirm it? This change should be in the previous patch as you commented in the previous patch. This is an artifact from my devel steps.