Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3956657pxv; Mon, 28 Jun 2021 17:41:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpGvkEm1QXhCDh93kTiT8XLcGpfdgaRdqT9aNOvVU+WHMI28POdrGk96BjZnSrALwNOg5B X-Received: by 2002:a17:906:914a:: with SMTP id y10mr27835702ejw.235.1624927270335; Mon, 28 Jun 2021 17:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624927270; cv=none; d=google.com; s=arc-20160816; b=HcgDHWpm++ZpGLbcs+xk74psaG0jUvn2Op1n8WSJfdhGRvjeRIdGQGhFClM8lTQZZb 1XzRHwudUHBOdVp1e3UHcTw12bPjcpV5CDCSoop3TwYS7vGN0BE2BcFAO5CxA23O6GMd sGUbJQXjgWiIrBdzGkFPIKMKWRKcssSXv161ThKc32sUK8tJCqqN18G4llyvjLSbfy2/ dA3Wz9eyIcoqz+4Q6Wz0MKVbqqBCoSo+gD8IK1ZHlMyCBGR2wN2HQ1Y7mzUk386z5DAC 4i9cnHKuHGBgUjDj/wQZ5bpfxSNnPGasJhxgeYD8j1ExgB6wGsOtY/pnZSjfJKw7NILv F8Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=pAYS6iiuIBxDtksekFjC6CjJkXPKfyT5fns3si7QYf8=; b=oAIMTj9gMw7FgTRIS2B+aImWto2O0BXCTSh64NOa79LW46nLVWlrg4kPEnTqcFjUGx 9hyVhg9xAgAO8MS51Mj+12CBkU/oV4IfEuj+siEcWzc5XE5m1NXiTQv4DpU+83eaWoUw 0aTRx1JIlw5OkuRCbJJcqa5Pq5vAxaDDUbMctii5arj3mr9CVG6vaKNqMSYpk/K4SU/+ wuRs/iLQ+1U8GjjS/I2HY8+HtJHHS9A7Fda5g1HdwpAZje0MJ4qSF/VPbL850VkjgR+2 x3lQMQzBXpYn9cpx8jUoktzXwtvpsbDUTMXg+5IxNRZ+aR0oe0nTRbf8Bk+wbB7cMoIa Cf8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i7UJWgqx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi15si17441573edb.459.2021.06.28.17.40.47; Mon, 28 Jun 2021 17:41:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i7UJWgqx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237028AbhF1XWf (ORCPT + 99 others); Mon, 28 Jun 2021 19:22:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:44348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234600AbhF1XW3 (ORCPT ); Mon, 28 Jun 2021 19:22:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 3076F61CEF; Mon, 28 Jun 2021 23:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624922403; bh=Wu4jGFGnjl1kHgKvmAaQnp8dHjqb9QvVqHRMyqg/JUg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=i7UJWgqxpDpRyocAWcdLuvPm7bBUR6tb+KqbmYVZT/36AGXlsTuJg7yax2jCYzVkx AG3B5lcgvM5qvsa/Up23ec+63SodGKFl0ZA7uVZtpx6KUWZWbCoRQCOpc2UY30CmrU Mk3EJm2o/60ZmTsdWvhtg++5FdjvRsHgp/uhRCH2TpnPqAO/BJT8K9OJwS5QcUQXwB 71ZTQIpipmYXSUOe7o3GNryRqDOhFHeZKQ4u5HkTsltuxIHvnrXWD2z09014/KwzKd jrKaUL9ERwQjfeaL1MlyJhSAu/KU010dMzOFmehya/YF1vYlMk6zypUtT9/YG6GM6Z oKDqNetGFae3g== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 1F84460A56; Mon, 28 Jun 2021 23:20:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] selftests: net: devlink_port_split: check devlink returned an element before dereferencing it From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162492240312.3183.18165138324418989489.git-patchwork-notify@kernel.org> Date: Mon, 28 Jun 2021 23:20:03 +0000 References: <20210628145424.69146-1-paolo.pisati@canonical.com> In-Reply-To: <20210628145424.69146-1-paolo.pisati@canonical.com> To: Paolo Pisati Cc: davem@davemloft.net, kuba@kernel.org, shuah@kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 28 Jun 2021 16:54:24 +0200 you wrote: > And thus avoid a Python stacktrace: > > ~/linux/tools/testing/selftests/net$ ./devlink_port_split.py > Traceback (most recent call last): > File "/home/linux/tools/testing/selftests/net/./devlink_port_split.py", > line 277, in main() > File "/home/linux/tools/testing/selftests/net/./devlink_port_split.py", > line 242, in main > dev = list(devs.keys())[0] > IndexError: list index out of range > > [...] Here is the summary with links: - selftests: net: devlink_port_split: check devlink returned an element before dereferencing it https://git.kernel.org/netdev/net/c/a118ff661889 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html