Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp921219rwb; Fri, 13 Jan 2023 05:58:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXsVxhMFa/b7Hm5UU7Az2EWnAFXsbrYEYG4qwG4MHnNb6bRe5jszwI04MMlark1Ji4xHEuBj X-Received: by 2002:a05:6402:2b89:b0:46c:aa8b:da5c with SMTP id fj9-20020a0564022b8900b0046caa8bda5cmr66277481edb.33.1673618300705; Fri, 13 Jan 2023 05:58:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673618300; cv=none; d=google.com; s=arc-20160816; b=JYLmIxrzkmca+MRc7Iy/4pFTsRKxW8FuoAMbcD0r+QdfXTi/iOzl+usICnT0S8tYsy wCqksw6x/DneIN5nKZr9+8G8T4HMOi6zqEZ9lIM/D/7A2N4mbtG7+QI9Dp+DqB3Gpiee xN7iUz4gK+iUY0TmPUNKkuQRg9cEKhnVeOZ5vaUl5562zp5wFIZbU14MfRgWPhkRGPDO oIQyXrqBY68N6cbbWXUXcjplMDH9q1D/0GC415nQUnZ0GbLRNF9SFIwUM+OeFWdMes+Y y3HyyIV3kaFJLgY71qUUyj7BpdkDc5nMC/jQkEySbVcQIvtK8YCZ3tmWMCeNtZubPKPa pxxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=No+5RPSlt/2AA9DS36alYfiIviplsrD4U7z1/DjK3kw=; b=X5OjoEnSNLw6UeYmU+404N+/+OLHXh6r4cQ6SnaPDN5+DnA8yWea7NeiSG0JDHqTo7 AhEnAWuemJv3qu1hXzoKAIaqtwixM1q+k/hnsdeEQ0koXkmKimOHKqcPoxyeCZxlTtB2 FwIBoRvsMtstto/ro5zCijfH7tAi8OF2HzHgMoK+TXOssZ4FSScBBTIiMs6FLX2myD2V +8Wy0GmvuXU7TwRMiUYQ0vpBTk9QM1Wz22B8GL9J4oSmJgR34HBXdl3INXqcGPQhnGEg Nu90BrZ842i/lBj4tGFa7ZNPgsuOEgj4oqRz1L7pPf9KtusUJOmR7KIsJUyrm9Vgtm2V 1dYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=VJodeieR; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a056402440900b00489644e8bd0si26484235eda.610.2023.01.13.05.58.07; Fri, 13 Jan 2023 05:58:20 -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=@google.com header.s=20210112 header.b=VJodeieR; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241924AbjAMNix (ORCPT + 51 others); Fri, 13 Jan 2023 08:38:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241720AbjAMNiG (ORCPT ); Fri, 13 Jan 2023 08:38:06 -0500 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F6F93E0C9 for ; Fri, 13 Jan 2023 05:32:13 -0800 (PST) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-4bf16baa865so283440067b3.13 for ; Fri, 13 Jan 2023 05:32:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=No+5RPSlt/2AA9DS36alYfiIviplsrD4U7z1/DjK3kw=; b=VJodeieRVB3/PNGRPY0aEuQS+oK4CIr7AMdUy5heO7OE7pVFTK1A164V81193yuMKY o0oUSJN0YXwRO9v+Ezx7Gqn/ryTWa//kwbqXH3tngvFiYZGyvgx8YIiykr/aNB1DW48e N0GbzuKPFr92tZyDVjjUmcOMVYyyySKxOlloYTGTinRJW/jHY6W1Ks5OY2dsvq2+RNlC zByCYr+/SoxFMEY29qhMwONLMsOUIXHsGRC0yYIZO6xlP9PwBZYL/QzSCItRcijl/ECw d67/fCqKvUg15ic9ZBUdQDMG1O2qlcwbgzC0LiRIPvIv+3nnIOosPA/oyQqI12S6iRlD 98PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=No+5RPSlt/2AA9DS36alYfiIviplsrD4U7z1/DjK3kw=; b=5Qqj8272dLz+EuUDkWmCwh4NqnQGIbEdeodSTix1oEslnRPsARtvmfLGi2dvUI950u Blg8xb7X4tH2egPL0FAxmjRKJXzssOI4zDhBMlg2DOenxjscefnFyJ4NQ/f1enJlKYYy lxBcK8nOWlhBaEMpDKSo+VPKk9Q4tT0nSekhWO78PNcnxwAoFlVrfyY1qr1YlNs6OHIU WYJQmPmXaq7JrQR/7Gx8DyTsH2ZwhPgrZXwjWF3O52ncyWTNiNno3dY2MNT4Cticp3WQ vGRTGT7I/Lo0y4mmti0v8V8FmLSraIbjG44PTCsUJ6guO2l5VCCudGPvjThrWyw6Phu3 3/Jg== X-Gm-Message-State: AFqh2kr5r/FtesasCaNdYtSqL+vDCOyfTyPQxW7kC57soa/uEVvk8LJc fXZrcp132C1necVMEiNgDWQgxqEBhXBcMWo5uokcnA== X-Received: by 2002:a81:6d85:0:b0:3f2:e8b7:a6ec with SMTP id i127-20020a816d85000000b003f2e8b7a6ecmr2828684ywc.332.1673616732259; Fri, 13 Jan 2023 05:32:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Eric Dumazet Date: Fri, 13 Jan 2023 14:32:01 +0100 Message-ID: Subject: Re: [PATCH v3 net-next 1/1] plca.c: fix obvious mistake in checking retval To: Piergiorgio Beruto Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Oleksij Rempel , mailhol.vincent@wanadoo.fr, sudheer.mogilappagari@intel.com, sbhatta@marvell.com, linux-doc@vger.kernel.org, wangjie125@huawei.com, corbet@lwn.net, lkp@intel.com, gal@nvidia.com, gustavoars@kernel.org, bagasdotme@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Fri, Jan 13, 2023 at 2:26 PM Piergiorgio Beruto wrote: > > Revert a wrong fix that was done during the review process. The > intention was to substitute "if(ret < 0)" with "if(ret)". > Unfortunately, the intended fix did not meet the code. > Besides, after additional review, it was decided that "if(ret < 0)" > was actually the right thing to do. > > Fixes: 8580e16c28f3 ("net/ethtool: add netlink interface for the PLCA RS") > Signed-off-by: Piergiorgio Beruto > Reviewed-by: Andrew Lunn Reviewed-by: Eric Dumazet