From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795977751; b=nW4s3e3P2LKBenBmZxFxZS75hkCRh1x0JBV8OyLW16r0G095UY6agNOWmmj/iH0y7FOG 6UKcTAiaJYECIwZOQIiD5hNv5I32f+ioRkqnlwTL4inAjemI3wV3nM2GcpVsRF/UPSl++ IndKdRgpH0sIXmlLxuVtrqgmIPEbkzqe4e6GjVhMiGlNuLlCP2J6bWqpgjKT+ieh5R54R uNeRE33kCmHyH/iUcgsvNb03wRNBAqQkGO1o+rbDDnqHPAn4a6P22cwz3xGXKAEdhpQl8 2prMeDbxDbfm0afS/1RxWE14JnhKRxdn+/GA48MzbkSIkJ6gfI1O4neqnY2/9Vz8F3w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795977751; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=3HdHsoUrGvRq2OY3cRA76ep3JJBrtpg4CmJqQozrbZY=; b=G2GrfRN1rj4pGnL8JXxGriMbojyFdgPXQ6YxTuK6kCxSijQJy2wji57ktFh5WrGx5Aj9 lZKaHMkiZPtn9PddxPAM/GYwd6eVIADuVppSZWPeZu4JnawTEH0/sq2REQ+Z9Z6wX48vz +DAALMge0PKr/bybwKOR6XQXjkeYNEfoCUTBpY+2x2173nJepXk+dnecSeYDEJ0jzGfZx sJ1lOgMxfPjMjZGcwVXEG9E47+wE6e+SwxIf2EEwmVxIe9Dv025ih4vbm7Lzu10rSx0Vl UkFBx5U7jXHSAJQ0PMoE3oAcuC7e+74S9mkxsXhq/eHEqjSUdZQUdjxCRCXY3d3Cbcw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=UvYaycZL; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=jg2veIU3; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8F03606A323 for ; Sun, 29 Nov 2026 18:42:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E8F03606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=UvYaycZL; dkim=pass (2048-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=jg2veIU3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795977750; h=from:from:reply-to:subject:subject: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=3HdHsoUrGvRq2OY3cRA76ep3JJBrtpg4CmJqQozrbZY=; b=UvYaycZL9bMvfRqS2wGJDdLA/hKho7Z741lcM+sny+7NdZS9bFcHuSGUXlOO2PJ+g4PaYJ fh5kuSSVii+JmbrGBGpXKrySO8MfAtTR4t5LVg+JmcEjc2gFE3seybfpQDMpLqEa19Rat4 okgNuyLdFG48QF2HG+LI8lWp7QY8RBQ= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-306-lMbwksxHP_mFUEo2s0FOgg-1; Sun, 29 Nov 2026 18:42:27 +0000 X-MC-Unique: lMbwksxHP_mFUEo2s0FOgg-1 X-Mimecast-MFC-AGG-ID: lMbwksxHP_mFUEo2s0FOgg_1795977746 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4ba01393800so22746245e9.1 for ; Sun, 29 Nov 2026 10:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1795977746; x=1796582546; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=3HdHsoUrGvRq2OY3cRA76ep3JJBrtpg4CmJqQozrbZY=; b=jg2veIU3Sp5MREe5zQwLGM+cNlQGW/xb5AICCRd+1ucdNwBT6awiXpBcN9DSx5Z2h0 HX05iUHbKQjTRqhQG5MgnnvrDSIGmW6jZ85V1GVdRu/z4QDR6M4JSrAmyheyMKN0E3Py LX8moUW9YqJkzBAVGkAlPltcCEiofht++L0e4+Vo9+FmSZmfZGIK+t56m2UTKs4Ssboo rLg7bPNV7OxlYQT+exAMtKogl0rs2+Bl8zRmgTMOFryZRG6xZNUrwXEqvxhY+o7vMps9 DSbh1fQS9yWtNZT3uA0HM1TjMX+tL4IfP5RTDPh7awZtpwKbIKZCs/L4jKauYDeJ68yt 45dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795977746; x=1796582546; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3HdHsoUrGvRq2OY3cRA76ep3JJBrtpg4CmJqQozrbZY=; b=PMiil5LYZCPPamG25+7yTuqMJNul+TGVN98NlORywnVMq4aXwPd+suuEAR1L1t992n RgRZ585ua6oSGzz8GMegWettg3onm9XVsSRZRIRZkQs6LdR5gIWRcc9c+EagSikO3Pq9 PhFCb/wJ1AKZrTMFFeaYYPhH81OLeL5IvbqX0GdLledZ01aGzw74d9JcKaXKQYhGAg0w X4OIJAw/wcr3VJM66w0tzxl3GCQMXAARc7L2bs3lbc4KCZPxGZFlSrOKtyzYjJlFv5Dr ixJHrd1Pv4ETqgjH50Ltg8ifpcPRmgFZZ5c7pYYHQ46AQ3ZjuwV39353xzfuzTY6B+Im JVkw== X-Gm-Message-State: APuU4Z8g7LtDvsHl3Ii7UYGVT8f9dN1OwVouUQ0Uy7gf9gnVXz9W+QAM +sdDF52qrv7nU7DDTNyQG4f7/TxLOP7TnEyu1LuGcFtByLIxE2oo546wQi4VnsQzjddLOKNf8H3 pGYkR1BWQHJKqqJgnvD+tOYA/DbkSQP9BcowZKfdzJrTNOEmaWQd79Xul1g== X-Gm-Gg: AZFdTZdBLm6oUkOua+kPuGtgXkmF7IU6yDmwytFpw8EJJ/4X8jOSb3fnlqJG++X9NJG mYaf7zfwuBUh2XiBL45O3XRilRns2UDwhR+3MVr8GlRmP5JoKUNmsRt3m7m1qz2PaJwEK32Ju61 Ssfz/kL6oGBW+dA1vaWikQjAP8YZJPPps+IBK2NtX/bMxt601bTrrNMYQNcENW65PyljJDspKQk jY1BauygIYddAYI1HhbcqrIeEsjWwHJnf1CPlY9xZH2d2ioN2f/woufVwR+UQMZxJoJeZInbXyi 71/88e+ibTakikNvKPEkr6bDfK8XZxxN63Tgf9cUdYqdmYEoi+kEegf9njUdQE+LGBm+qb2efNH /0/hHAZBhnd3OLZpiAtAQKXrf9duIOtI++kJUuYznFThfh+oni8mJptOLGsFgd1n1laRSRWdgi0 hxs/UMx+ckTGZHspY3ZoAPNOgd6/TjPtDexxzbQ8leY8FR X-Received: by 2002:a05:600c:4e0d:b0:4bb:69b2:d3b3 with SMTP id 5b1f17b1804b1-4bb8881eea5mr616707065e9.27.1795977746526; Sun, 29 Nov 2026 10:42:26 -0800 (PST) X-Received: by 2002:a05:600c:4e0d:b0:4bb:69b2:d3b3 with SMTP id 5b1f17b1804b1-4bb8881eea5mr616706845e9.27.1795977746111; Sun, 29 Nov 2026 10:42:26 -0800 (PST) Received: from [192.168.88.30] (ip231-128-192-82.pool-bba.aruba.it. [82.192.128.231]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a67fe48sm54601284f8f.23.2026.11.29.10.42.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Nov 2026 10:42:25 -0800 (PST) Message-ID: <142fd89e-a7c4-46e7-820f-51398743a719@redhat.com> Date: Sun, 29 Nov 2026 19:42:23 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v12 8/8] selftests: hsr: Add test for the inline PTP header on HSR To: Sebastian Andrzej Siewior , netdev-bot+sashiko@kernel.org Cc: netdev@vger.kernel.org, j-rameshbabu@ti.com, andrew+netdev@lunn.ch, danishanwar@ti.com, d-qiu@ti.com, davem@davemloft.net, fmaurer@redhat.com, kuba@kernel.org, neelima@ti.com, praneeth@ti.com, pratheesh@ti.com, richardcochran@gmail.com, horms@kernel.org, vigneshr@ti.com, willemdebruijn.kernel@gmail.com, daniel.machon@microchip.com, edumazet@kernel.org References: <20261125-hsr_ptp-v12-8-9ddd2a73cb90@linutronix.de> <179570404248.3135.7481792168822818977@kernel.org> <20261127081254.HlnpJH-F@linutronix.de> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20261127081254.HlnpJH-F@linutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/27/26 09:12, Sebastian Andrzej Siewior wrote: > On 2026-11-26 14:40:42 [+0000], netdev-bot+sashiko@kernel.org wrote: >> Low priority / nit picks for your consideration: > … >>> +ns1="none" >>> +ns2="none" >>> +ns3="none" >>> + >>> +setup_ns ns1 ns2 ns3 >>> +setup_hsr_interfaces 1 >>> +run_ptp_hdr_tests >>> + >>> +exit $ret >> >> [Severity: Low] >> Do these presets stop setup_ns() from working as intended? In >> tools/testing/selftests/net/lib.sh, setup_ns() only generates a unique >> name such as ns1-XXXXXX when the named variable is empty. If the >> variable already holds a value, it calls cleanup_ns() on that value and >> then runs ip netns add with the same value. >> >> ns1, ns2 and ns3 all hold "none" here. The first iteration creates a >> namespace literally named none. The second and third iterations delete >> and recreate that same namespace, and all three variables are left as >> "none". > > Urgh. So I was asked to remove the used-but-not-initialized warnings for > ns1,2,3 above which I did. The test passed so I assumed it does the > right thing. Now after reading this, I double checked and see those are > named "none". The device names are different so it does not fail. > Any suggestions? Is the mentioned warning a shellcheck one? If so it can be explicitly silenced with some explicit comment (which is the right thing to do in case of false positive) /P