Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1075091rwb; Thu, 19 Jan 2023 06:22:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1JqToisncGlkc+0kuv84ymji1O6oDt5m4ExqwvH6ncglyYcXr0GuE3w7hFOnHq0uFDZaK X-Received: by 2002:a17:90b:91:b0:225:ce95:dc15 with SMTP id bb17-20020a17090b009100b00225ce95dc15mr10631060pjb.29.1674138175393; Thu, 19 Jan 2023 06:22:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674138175; cv=none; d=google.com; s=arc-20160816; b=GsOdNUkMjXbv7sh8DQG0YrshjpzNE79fRofaEtiti3Fx2DZFJAOuTW6Y+jbYMfkpUG 1bTKWpLSGdh6Esh05bksOKFMd1X4ItW2qJVqDjnTunNzY+8vekQCyhxvPNLk39dkOIxB unfTvbgV9pcRtyvU677EUjgkpb8jrHSZ1eWYzFHH8MAWVHnTvYxgaEAWIoGl5IxnD887 5rwzpRMsdtnIwKnmmkfw2X21kkqAirs00QWR9Yki9y1f/+iukoV9mHoEU/NZ8jAI74Wg gsdomtwvZnyXQH8Kc9CF4J4CTxYLDVv9q943JSUMOO0v80eBMwbC3CF1+aFzueuExhj/ zPTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=NllK0azs34zQlNRKoqTNyUNwLOsJ8tnB4tNC7+7ktic=; b=z2hm+58kitg7KJh7LHHdWV0pmb3DO4kxE0u6Iyuaf1Qs4K8ZuvthLStHIZeFEs9cDZ oGU5DX9gKt0eqEuANspX7HWnqjSpkBvteNTag/vQnfG3FQ9N8rIw+jrrITdLytfTYEzN nS0hw2IcjhZJ4sdCNO2mjnqZ4TAQWV/Ago+KcH1VidguSS9WK/7sY6R5mX4tWrEFAC/5 lwpWI364evCwk5+LUipXow9vxIe+PTNgKtQ0M1sTXwUz40TDeq7GXj3KMMm3ogqRZc/A JUj9Br7i3wXtd5vNbF98ASqnOUfh54ytSH5jSwAkGdZixJp8dSWjQb1aMJg2IQcC1Src g2xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=S3nOzNTJ; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk13-20020a17090b4a0d00b002270cd1cb8fsi6257054pjb.46.2023.01.19.06.22.49; Thu, 19 Jan 2023 06:22:55 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=S3nOzNTJ; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbjASNIg (ORCPT + 44 others); Thu, 19 Jan 2023 08:08:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbjASNH6 (ORCPT ); Thu, 19 Jan 2023 08:07:58 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52F7A656EA for ; Thu, 19 Jan 2023 05:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674133593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NllK0azs34zQlNRKoqTNyUNwLOsJ8tnB4tNC7+7ktic=; b=S3nOzNTJNAcodigvZEXCaUJaQGVy5857qjZpV82RaI1zaupYkDRKt1z7HamE7Gua3xw0oY mUhdVG7zbicCvBJSz+3azmSeb+deENcxQAZYVzW5HwxU9h9W7VyGC1HqsucbxaUPnRyIAh Ab0cbyQ4ws/vV45ylc5ae76Rw0MYXaw= Received: from mail-yw1-f199.google.com (mail-yw1-f199.google.com [209.85.128.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-557-UB2_L7mpOlW8YE9G3QI5pQ-1; Thu, 19 Jan 2023 08:06:31 -0500 X-MC-Unique: UB2_L7mpOlW8YE9G3QI5pQ-1 Received: by mail-yw1-f199.google.com with SMTP id 00721157ae682-4d4b54d0731so18248547b3.18 for ; Thu, 19 Jan 2023 05:06:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NllK0azs34zQlNRKoqTNyUNwLOsJ8tnB4tNC7+7ktic=; b=n/Be8p+Xq2fuJCYA2GOzsnVEPQUP9DSKvZ3bIdBJ0WBedcCHeNE/YLrggSDyeW61JF B0knIbIQVU74EaJPxdo+86igrjL7Hn0ll0cA6bXV5U2hAJO+jdCMRD4FLgJP1RmmosQn 2VELENEyG4HVFvqngyRuGKBvfJU8e2pgO4t6V1NcLXWQLl0BnRBEmpNMQOjyEq1XGHQL bdBqXA/yBe1KgUbonEs1Uq7JtV+WuTozAVxz+gPTae8b+RRKwnhgJssmAF4HBApklsbA vRSqW2yppeiqZhs6ocQ7OhpovzUqtG47eaCxn/elFDf28stgYbrF9a5WSlgXivIF3noa Qrcg== X-Gm-Message-State: AFqh2kqZJWBA5BsfvpNqjnwxXqEeJopN0V3qxx4InFqzQHhZudChwUdQ CBmNFXGEKMOEQ8L3O1WZ/TzMkgWqK5bZqofLDY2YYTTX1K15zzjv+nPzTpcKhPob0c99UJg27KM 9T4/dzh8YAeg3gaPabVqWXJxX X-Received: by 2002:a05:7500:631c:b0:f1:e53f:ed8f with SMTP id ib28-20020a057500631c00b000f1e53fed8fmr942654gab.6.1674133591289; Thu, 19 Jan 2023 05:06:31 -0800 (PST) X-Received: by 2002:a05:7500:631c:b0:f1:e53f:ed8f with SMTP id ib28-20020a057500631c00b000f1e53fed8fmr942613gab.6.1674133590893; Thu, 19 Jan 2023 05:06:30 -0800 (PST) Received: from gerbillo.redhat.com (146-241-124-97.dyn.eolo.it. [146.241.124.97]) by smtp.gmail.com with ESMTPSA id m3-20020a05620a24c300b007055dce4cecsm265017qkn.97.2023.01.19.05.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 05:06:30 -0800 (PST) Message-ID: <54ebe3efac89c68db30658e82b1ba1a7355d4456.camel@redhat.com> Subject: Re: [PATCH net-next v3 2/2] net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action From: Paolo Abeni To: Siddharth Vadapalli , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux@armlinux.org.uk, rogerq@kernel.org, leon@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, vigneshr@ti.com, srk@ti.com Date: Thu, 19 Jan 2023 14:06:26 +0100 In-Reply-To: <20230118095439.114222-3-s-vadapalli@ti.com> References: <20230118095439.114222-1-s-vadapalli@ti.com> <20230118095439.114222-3-s-vadapalli@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.3 (3.46.3-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Hi, On Wed, 2023-01-18 at 15:24 +0530, Siddharth Vadapalli wrote: > @@ -1014,18 +1013,12 @@ struct am65_cpts *am65_cpts_create(struct device = *dev, void __iomem *regs, > } > cpts->phc_index =3D ptp_clock_index(cpts->ptp_clock); > =20 > - ret =3D devm_add_action_or_reset(dev, am65_cpts_release, cpts); > - if (ret) { > - dev_err(dev, "failed to add ptpclk reset action %d", ret); > - return ERR_PTR(ret); > - } > - > ret =3D devm_request_threaded_irq(dev, cpts->irq, NULL, > am65_cpts_interrupt, > IRQF_ONESHOT, dev_name(dev), cpts); > if (ret < 0) { > dev_err(cpts->dev, "error attaching irq %d\n", ret); > - return ERR_PTR(ret); > + goto reset_ptpclk; > } > =20 > dev_info(dev, "CPTS ver 0x%08x, freq:%u, add_val:%u\n", This chunk does not apply cleanly to current net-next (context is changed). Please rebase and re-spin (you can preserve/keep the already acquire reviewed-by tags) Thanks! Paolo