Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5485653rwr; Mon, 24 Apr 2023 05:06:45 -0700 (PDT) X-Google-Smtp-Source: AKy350boYqErPqHY8IUsJydjecfaSH3S9jqpytVcITJLVdSZgma9qohok83NC1cVL3MjKXQvZ1Gu X-Received: by 2002:a05:6a00:b89:b0:63b:5496:7b04 with SMTP id g9-20020a056a000b8900b0063b54967b04mr21424321pfj.9.1682338004900; Mon, 24 Apr 2023 05:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682338004; cv=none; d=google.com; s=arc-20160816; b=xBp2CsNhWtE2h8U4eL+FzANPs1I6cvvYN7hAhTq7c4Xd70in1KGVGBmpyZS8EcZSxf foGH5mweDONRbFfPo5l9LIqK+Avxcd3QyyYnTBPfQnneCOrSnI21wR8s8+l/r7vFrAaN ZD8CFAZnG3KgFKXJAf8o1LIYAmbzvCBL0HDINb3InkKuRgIl+pwXSaUAKt37X6duKf8Y h+kbBHYFV6HNMV3d392RRFTQKpREUpPnxwL4onM8Au68ZJOnk8PWozfA+GAKI0lIeKTN yuqyhWEnTUFnybxULyarEst7M+sdcydZg6SemUCWQVUQlhqNIPKBAj7SK66nb4/p57WT Ic0g== 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=MtsLW4d1n4qxZAyNGKNu8MdKeZ+rUviA1nhEexKNVKE=; b=NLx0DPpNy+yZnpSEcOMq78m0+8n3rxLhYmpjyQCB8uD6KeGFsgwerHk+4pfBTmOR4U I2HaYENci4McfGc/fP8Mx7HTj/nb81XfACxz4qZT+ln8GrtrUkG+Q4tpZCIgULGb/RlS dlOguURih3n3mrJKPi52eoEs+ZrU9apXs/UCV4wD72TGWC7AbfPEWy9jNqs2yLkPJKRt dDNCDonxQx77851Qf+kbpObFdPDpkTjPKCMZhmtJldDFv+uDhh5eIo8f7yqrGpmjAZn/ LikkHi1r/9+C+AP2XJjUWQbElj4afWIy3/V2Qs1BwW0rly7an9m8WlpV3CMBnkRbO1Uu tcbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=GQURdknG; 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=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 132-20020a63018a000000b0050f89421524si10211948pgb.319.2023.04.24.05.06.32; Mon, 24 Apr 2023 05:06:44 -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=@lunn.ch header.s=20171124 header.b=GQURdknG; 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=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231717AbjDXL47 (ORCPT + 99 others); Mon, 24 Apr 2023 07:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231710AbjDXL45 (ORCPT ); Mon, 24 Apr 2023 07:56:57 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 155BF4487; Mon, 24 Apr 2023 04:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=MtsLW4d1n4qxZAyNGKNu8MdKeZ+rUviA1nhEexKNVKE=; b=GQURdknGFoDSPPpyJrEyNvNBaD smr5vVOj3hoONFSVdWuYGTWfXpW/GDSGpbeaPflQ4eYnMsS2uVo6Lo/zBjUP8eIZbcB9vqIZVmYkw fzKLhU8dXN37ZXn0VUHQgRVE+ZxGhmxBkLMrhuqy/Ze3g0Xb9wkzj8iWYgVAZ7v6qUCk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pquo8-00B5Cm-7G; Mon, 24 Apr 2023 13:56:36 +0200 Date: Mon, 24 Apr 2023 13:56:36 +0200 From: Andrew Lunn To: "Radu Pirea (OSS)" Cc: Jakub Kicinski , hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH net] net: phy: nxp-c45-tja11xx: fix the PTP interrupt enabling/disabling Message-ID: <077d3578-4475-4195-9018-392edd34d4e5@lunn.ch> References: <20230410124856.287753-1-radu-nicolae.pirea@oss.nxp.com> <20230412204414.72e89e5b@kernel.org> <36cab8c2-1901-a263-a7db-b7de486bfbeb@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36cab8c2-1901-a263-a7db-b7de486bfbeb@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, 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 > > Also why ignore the return value? > This register might not be present on every PHY, that's why the return value > is ignored. Please document that, otherwise you might see people add code to check the return value. Or better, still, differentiate between the different versions, and only touch it when it does exist. Andtrew