Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11603321rwl; Tue, 3 Jan 2023 01:42:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtygXXFYdOn5fdR/dlglAj4Gu+xojuGjrga0+0d71o33v8SPlDR+G/nm0fR4DKQpzC4dUdK X-Received: by 2002:a17:907:170a:b0:7c0:db53:c5ab with SMTP id le10-20020a170907170a00b007c0db53c5abmr39987289ejc.25.1672738925710; Tue, 03 Jan 2023 01:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672738925; cv=none; d=google.com; s=arc-20160816; b=vmVX6ADr5VU95gudZi8/Thq2lUlJqIotFJk30jYQijYZf71RDH8P8jfSnJ7/QWM4RQ VWj6cZ4lWOYzKQHqpbwpCI07dFyVGojoSOjD0giXlYtv7LZcBJG56ToIrbBQQ2f3geNh Wci/M/simu7RR92rqj+UNzSXieYXdzNhcL8WOpuPvyJJx99D8x9eIM/ZGfpBDTOi/rIG BcDSnGr5dotdQEAEDxsMWlQgDg+sSTUQEjuRWMcRBEGut008/xI4x/x+7vTjQCHhhpw4 uNop4G6zU5R+emzaNKchlnlij2YJs+c87M1C59icXmU33pgES0+nbbapXntbA0bznlgK 9Rxw== 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=rHo8Xzze3PBVFK2zU2hBup8w4rK6hXfFEZRWIQGZeYc=; b=lalphh2a2YEDh++WYw+QczfKAFfu/8vc4nrJXGD7kMCdLbvrlqMj9Rbc1l1ncDPvt7 j/HKoSqNkNW0XPOY2Octt8rW0IvgAAp6EcwOT123ML28sVeyLf+swWPiUDeojARrVjh7 bj5ZG8TUcsGc4XOJ7aei+2Kz/WvvUbQyLWnVaNEV/l4H5xWFN5kEW/xd1LgxRRkpDAX6 OtXoqKilIYIJi3IWoYQgZwrlo7ZNrUWxg2PqCc8xo8RMuaAXA464y195lWWr5bpz+WOO zYbT438evZMt5JPcMy+r740T5RlOI3ZXp5TNUlG09+tziTm8vIhWom7GLZQsNe4J5GOi KTVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=HyuFKahh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm16-20020a170907949000b0084514612c25si27472376ejc.604.2023.01.03.01.41.47; Tue, 03 Jan 2023 01:42:05 -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=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=HyuFKahh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236942AbjACJQF (ORCPT + 61 others); Tue, 3 Jan 2023 04:16:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236960AbjACJQA (ORCPT ); Tue, 3 Jan 2023 04:16:00 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B02B5BDC for ; Tue, 3 Jan 2023 01:15:58 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id m8-20020a05600c3b0800b003d96f801c48so20287790wms.0 for ; Tue, 03 Jan 2023 01:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=rHo8Xzze3PBVFK2zU2hBup8w4rK6hXfFEZRWIQGZeYc=; b=HyuFKahhZyvBGLCfqGMbJCh7iNTZ7FaWiA65PSo0pePGtd4FVHTOVAi+U7h2l1SNbd lo9uF7tTJQzh9yBcNbGoJSkRQWv9qWacKra1dB6ixaEYBIAV4diKkEZxm2vIUuVPEZ68 Cu0fiSJfEfkULXku1rzPMdNNRL2DvWL46PxLLB14ii8+cww9UasWjkkt4WgFFXJsAgLv shT67abQ7Elv8OpcYS9iKvCYklh/5wd9iDNhTBIE6JKUf1w07beW+ztoYGZMzHRfUmgz VHXM0mtDu9tzUk5gAMO2KvA2ZWtjkq5QmdbWpf6HRuU1SmdoAalNYtrdPwvcj5Y5zc/d G7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rHo8Xzze3PBVFK2zU2hBup8w4rK6hXfFEZRWIQGZeYc=; b=YBv8ZtsF+IBXd3SjpST1unHUJ6XyY0OrBpSAdiaWDfhsqrxe4+kg8h2BMo+W7JeUpt 0g6URQPRe1fJ/IuLf1tDUavVAn43OFD4rmOdzFqZGLjWeLj5w1CrqJE3gHigfT+irfhT 1ja8DZgdAd8yLjQjx7WFpflrH4PzYnOSi2rr4YX5R8EX0H/tMan9TUEXcj+qrNtdihTY ocwFqEjH/PAlVqMCgbNQEkC5rpfmaCtlRmNGOF3GUTKBkrkOq9Lf+yRZBpl2YNwyLh87 Lxvri+pqzm3HNpYQQ72xdmm2Yq9KUM2rhEJy3+rJURkqhJK33l65newXjyZq5JnehL37 qIgA== X-Gm-Message-State: AFqh2kr/RwJv1gIwFK8fUDUJ1dzf+5L4tfU8MH+A89TAeP0v3CfcQ704 xLKQ2WIgIFMcmlXAweCMt7gyuA== X-Received: by 2002:a05:600c:1ca5:b0:3d1:d746:7bca with SMTP id k37-20020a05600c1ca500b003d1d7467bcamr30813728wms.4.1672737357171; Tue, 03 Jan 2023 01:15:57 -0800 (PST) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id x15-20020a1c7c0f000000b003c6bbe910fdsm58666345wmc.9.2023.01.03.01.15.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 01:15:56 -0800 (PST) Date: Tue, 3 Jan 2023 10:15:54 +0100 From: Jiri Pirko To: Sean Anderson Cc: Madalin Bucur , "David S . Miller" , Sean Anderson , netdev@vger.kernel.org, Paolo Abeni , Eric Dumazet , Jakub Kicinski , Christian Zigotzky , linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: dpaa: Fix dtsec check for PCS availability Message-ID: References: <20230103065038.2174637-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230103065038.2174637-1-seanga2@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Tue, Jan 03, 2023 at 07:50:38AM CET, seanga2@gmail.com wrote: >We want to fail if the PCS is not available, not if it is available. Fix It is odd to read plural maiestaticus in patch desctiption :) Better to stick with describing what code does wrong and then telling the codebase what to do. >this condition. > >Fixes: 5d93cfcf7360 ("net: dpaa: Convert to phylink") >Reported-by: Christian Zigotzky >Signed-off-by: Sean Anderson Reviewed-by: Jiri Pirko