Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4992969pxv; Tue, 27 Jul 2021 23:56:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2IHvDUFr4VEGUdi0PiPhIqrOHo0K9OWtbk9bhKyFLMuYaDUToKzC3zmMRkpq9hirOoI9X X-Received: by 2002:a05:6638:22f:: with SMTP id f15mr24676225jaq.141.1627455395757; Tue, 27 Jul 2021 23:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627455395; cv=none; d=google.com; s=arc-20160816; b=AiK3rs6xC24rMmVkeG8Cg/4jq/fLTcAbOnusae6t7IKfkWhd8LCCI9XHtNuUjiPPfI 74ZCcRN4IuT3GDuqzoxocX456sQUGBNu9bg85wfJlw0/KMye6gBipKfDp7CKZ3GUJPef LqOt/n9V+ztjgMeFTsgoCXAOIjXuES+GfENgHaXamlQTTISZkGzGZNW/4iOZzX/hg5/a iB8QNkOJr8XBlnWFtfzuE4QH/9Sx5YEbUsHneFv9qHM74xfQZVJ2ilPmffz8eFYoKvuP RhMWdkHErMyYeEqu/lGdEc5LV3vHtbdS47dAD8p+mNzCyGJ4AysWD7A0bzoaFfdog3P7 qn5w== 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; bh=rc6ScLrfLO7SxuFyWOGE8059/SGOdw9x6adjVueEkvw=; b=cG0QNfTLh9/0Kv2bycuti1Q9DUPwn/hfSaeBwfBu/EVGfddwrpxwNQxgRpDBK/16kE uOsRYH71uYs1yt1em6OpDxrdWAJo2qfujJ3mxNSjeSH0p+OyPTP331NgPwarlM4xWXz5 9pNnHvXKY0NN4ju6EQ1ap99k+sp1+jBOyIbmBNRX/iD38Yjxkh4UIQKb5dAV4cvaLaEE 85Gn7d/YCUVzng+rLl/zth4WqtpMw02NvRKOypug/NaLfIR629sqGrVzKq2y7EbvnuzD WXOD8QSwtXpjjdZbXMseiHTH+5rXUAsUYWGGbnQrvopzA/uQE8vdeiOd3QCdAoQM6yKZ S5GA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b39si5741827jav.0.2021.07.27.23.56.24; Tue, 27 Jul 2021 23:56:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234007AbhG1Gzk (ORCPT + 99 others); Wed, 28 Jul 2021 02:55:40 -0400 Received: from mailout2.secunet.com ([62.96.220.49]:54316 "EHLO mailout2.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbhG1Gzk (ORCPT ); Wed, 28 Jul 2021 02:55:40 -0400 Received: from cas-essen-01.secunet.de (unknown [10.53.40.201]) by mailout2.secunet.com (Postfix) with ESMTP id 9CDB9800058; Wed, 28 Jul 2021 08:55:37 +0200 (CEST) Received: from mbx-essen-01.secunet.de (10.53.40.197) by cas-essen-01.secunet.de (10.53.40.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 28 Jul 2021 08:55:37 +0200 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-01.secunet.de (10.53.40.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 28 Jul 2021 08:55:37 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id D3F7E3183CB7; Wed, 28 Jul 2021 08:55:36 +0200 (CEST) Date: Wed, 28 Jul 2021 08:55:36 +0200 From: Steffen Klassert To: Harshvardhan Jha CC: , , , , Subject: Re: [PATCH net] net: xfrm: Fix end of loop tests for list_for_each_entry Message-ID: <20210728065536.GQ893739@gauss3.secunet.de> References: <20210725175354.59137-1-harshvardhan.jha@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210725175354.59137-1-harshvardhan.jha@oracle.com> X-ClientProxiedBy: cas-essen-01.secunet.de (10.53.40.201) To mbx-essen-01.secunet.de (10.53.40.197) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 25, 2021 at 11:23:55PM +0530, Harshvardhan Jha wrote: > The list_for_each_entry() iterator, "pos" in this code, can never be > NULL so the warning will never be printed. > > Signed-off-by: Harshvardhan Jha Applied, thanks!