Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp270932pxb; Wed, 25 Aug 2021 02:52:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTz787Ks92gJCHoTm6G7OC1K3jXVanhFdMY0uj/lY7hg11efiWiZNXUS1mGi9qFtzmKki0 X-Received: by 2002:a17:906:1299:: with SMTP id k25mr44810736ejb.139.1629885144772; Wed, 25 Aug 2021 02:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629885144; cv=none; d=google.com; s=arc-20160816; b=vxQMJ5Smtr+H5aTxsQweop4zoN+QVRQmZFdXPrV0VPKlfM30cW8LsD2u1LqArF1bII 3FFuMpnUFj9Z8D9aA50esAdkCjla/HaKee3CDduSrXbYsrdwHbfOMCsnQCXD5LT79GpN jJn8QWWpyBPDARMKUFe7TvEnO2ADU04xahSWkc0Kt354WVtRWB6Eg9NbGtZ96xdBo40G fKejX6WFwGSEP8/I8N4xbhR+7Eku0t2Wwrk04IQkyjKH8M2UZZBzmLeFEdIKoA12Ju2Z WaJrGSdUcS4aRTlT0a+NdiIybbgPXp5638v65kTAYCrGKgB/Fu1AKkcqMPGHy5GEY8jL +d6w== 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=SCLbuLaITG07CYIhr/NRGY96GqelSHYfw8DL1mmpsWE=; b=YG4RMyORVO/C4GibLzRrdoLjtSCGGNHro7iqOrX6CFczln1OCvokehrUGf6XXO0zF0 TYQFC9aOnOhxi81IVU2oO0MP9Lc7MSKEJIv8pYx3odXLFnbvfujEYe7KDI6FmVX9VOCq ElK62FK6uGaF2jAK8+8S81XXE1QAt6VhwvCpHwAU5bjeRvy0GPoWf5/g7LT97BO9Cmr8 jsBZcbwy/03AERPXlMTEYwOK/XCwBVPjPk1xN8RNZiBFAf9a1OMdDlYQ7Ia8DnivvrQu MswjYmAEjGWKztSNr+yrEpgTFQRJmpfiE7OZC+5kUCBSKfs/o2ZNlLG98Eo42K41IXQr ymxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LikeluCu; 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 s4si19647409eji.269.2021.08.25.02.52.01; Wed, 25 Aug 2021 02:52:24 -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=LikeluCu; 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 S239729AbhHYJuw (ORCPT + 99 others); Wed, 25 Aug 2021 05:50:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:56774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237077AbhHYJuv (ORCPT ); Wed, 25 Aug 2021 05:50:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id D0DCA6115A; Wed, 25 Aug 2021 09:50:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629885005; bh=ho/Dxy0q/xcUsG9WR8NCpSe+tQ0c+57vDQtFo708owc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=LikeluCuoyH96UG6TXo79K9ssTN4F6HkWpZvbeNLsRafprr3086Z4F281jAXxKwgs 8F2UUSxeoMrAcEtsFgZQgy38/75u+rWukqbxfAbsxA3frgPjcCaXe00aQUcqZuvkkI ze2pxkiRrgVY5m0DQH39U225AT1WvsWjmn/Nwe3pLJk4BWY8dTtXaKG6iWAgnwMWoM /XyH/y4Byu9dbkW5YMVvjDB7eMKx3lM0f4NeRSij9onkq7jhB82QGIB/ftqumB0c9F SjVwht7UlhPnC1GcZsgiyQOUJvtVroL2uesvHbJ9Q3lni7XdZ94CeABlqCXWd2+Fmr r/CQHOGrCMiAA== 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 C3A4E60A02; Wed, 25 Aug 2021 09:50:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: macb: Add a NULL check on desc_ptp From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162988500579.26256.8039031793551400610.git-patchwork-notify@kernel.org> Date: Wed, 25 Aug 2021 09:50:05 +0000 References: <20210824100209.20418-1-harini.katakam@xilinx.com> In-Reply-To: <20210824100209.20418-1-harini.katakam@xilinx.com> To: Harini Katakam Cc: nicolas.ferre@microchip.com, davem@davemloft.net, claudiu.beznea@microchip.com, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, michal.simek@xilinx.com, harinikatakamlinux@gmail.com 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 Tue, 24 Aug 2021 15:32:09 +0530 you wrote: > macb_ptp_desc will not return NULL under most circumstances with correct > Kconfig and IP design config register. But for the sake of the extreme > corner case, check for NULL when using the helper. In case of rx_tstamp, > no action is necessary except to return (similar to timestamp disabled) > and warn. In case of TX, return -EINVAL to let the skb be free. Perform > this check before marking skb in progress. > Fixes coverity warning: > (4) Event dereference: > Dereferencing a null pointer "desc_ptp" > > [...] Here is the summary with links: - net: macb: Add a NULL check on desc_ptp https://git.kernel.org/netdev/net/c/85520079afce You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html