Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6204418rwd; Mon, 19 Jun 2023 04:06:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sXZf1aFg9Wu+xqwr+A+wyFhyJoN2irx8UjMehfJ4rZQKgLT1jdzIESSjozUiKKBn8yP6m X-Received: by 2002:a17:902:6902:b0:1b3:d608:899a with SMTP id j2-20020a170902690200b001b3d608899amr9076096plk.68.1687172778019; Mon, 19 Jun 2023 04:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687172778; cv=none; d=google.com; s=arc-20160816; b=Fb0+vXdaEaquq9zQZ/AigXGP2fPC50/NFClbmhDfxCKeZ36m8JKl5bjAKhPm3hK7/3 MNnhgbQUkjlso5NyPWEcBqhtsSWx+w4p5doHLb8ZOp/BbCUC/8MyI5gh63cSJlccs2tE E5B5hXaieZ1gkP8rBI/gsfFoifZez1YZ0qddJ+fN/UTahYUKeI2vQx7pCqHbjaDoteQ8 9dAJcaNIlfM2NCnY5IzIkFA8DUMvHv3aE6AxxpYxSreAlKBPIHFr+vpHpAoEIr6O1ZHa VCtE3PyIZmJlVw9CHwImYvDvEE7qzFN2BXA1L3dq7tzOeiWqemPlhWMWjqULCxHK3Q5F Ih2A== 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; bh=o2CI5Ekj4CL5wFaQGgJLviiqjkQrl3vRPMc5ATvTg/s=; b=Hqp27ihYZeagfE5WuSA9dl8U5SqosfA3nYQ0RCvb1p4eulF8+kzQCsZwxej6/7FUPH mu1c2PagBOzywKMZXJ+tRgLM14qcZZKXPtiHfs1Kc9yYa8tOrOaWgyXyPKn6YZkPb4PP 309/4/tAy1enA19vvw/BUC1upde/EygRdywc7/PCWrIuEQiqONK2x/UPEdTUFgCAZFdu cQ4CZhkcZ2yqoPNaZWygQNIYi5S9pIALbwArfJ1B6k+uqLqPt4s1lGiDfGPL2BFMeIE1 BNM1aoiNehRQhaLJ7fy9HMHeBshIgmTp6qra2x1SyIylsVsHfSuny6jlk3edqxtuPZNm flVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="JITr5u4/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a170902ce8c00b001b382b2d2fdsi17769372plg.144.2023.06.19.04.06.03; Mon, 19 Jun 2023 04:06:17 -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=@microchip.com header.s=mchp header.b="JITr5u4/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232154AbjFSKtN (ORCPT + 99 others); Mon, 19 Jun 2023 06:49:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232158AbjFSKsg (ORCPT ); Mon, 19 Jun 2023 06:48:36 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B4BD10CF; Mon, 19 Jun 2023 03:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1687171705; x=1718707705; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nIUqjU+9sWui+M1P0a6/KkrhLGUghRBFd77P7yxBipc=; b=JITr5u4/zZ7bIHq99JmoCPXR0K/mdkNHQWTszwOtNOnB1AHziYXYZA2F C18BTT+eUAP1+aOMxbvRfXRfpClw9THx9j5fRT6OObEo4uyS4cH+9zdji k3LPszg2AntnG8vv9FpTxwfWJwTYVdG62Yr7KbVL8lVnxGpxxasHsMgnK TVxSh+p3a/+A1bAPjImA6HgEJAmxBUzBQ7calQGqI3YOJBLU7q6JbRypj 58jLC0SHG63+Uef2sHB5FxSIL5pa6woEiXAXYhvX+eS4jr66d42ksVUMc MX7E9F4QCZjc8KorjIaNzquflD4eEa4kNtlTmK/gCTu2J1YXq3vONY2g7 g==; X-IronPort-AV: E=Sophos;i="6.00,254,1681196400"; d="scan'208";a="220892977" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 Jun 2023 03:48:24 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 19 Jun 2023 03:48:14 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 19 Jun 2023 03:48:14 -0700 Date: Mon, 19 Jun 2023 12:48:13 +0200 From: Horatiu Vultur To: "Radu Pirea (OSS)" CC: , , , , , , , , , , Subject: Re: [PATCH net-next v1 12/14] net: phy: nxp-c45-tja11xx: read ext trig ts TJA1120 Message-ID: <20230619104813.tiodielj7faw557s@soft-dev3-1> References: <20230616135323.98215-1-radu-nicolae.pirea@oss.nxp.com> <20230616135323.98215-13-radu-nicolae.pirea@oss.nxp.com> <20230619084941.q6c26zhf4ssnseiu@soft-dev3-1> <1052d020-6866-f1a2-2b59-bec88ff00271@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <1052d020-6866-f1a2-2b59-bec88ff00271@oss.nxp.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 The 06/19/2023 13:07, Radu Pirea (OSS) wrote: > > On 19.06.2023 11:49, Horatiu Vultur wrote: > > The data->get_extts can't be null. So I don't think you need this check. > > I kinda agree with this because _I wrote the driver and I know what it > does_, but on the other hand don't want to fight with any static analyzer. Yes, but then wouldn't be an issue with the static analyzer tools that can't detect this kind of code? > > > > > -- > > /Horatiu > > -- > Radu P. -- /Horatiu