Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11952376rwl; Tue, 3 Jan 2023 07:06:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXvMlNyrc76XEWeWJlWh9vaH+fPP5mdsFhHnNDj3ox1PvEXvSJxvw8AsRZzPJ1VGKJbjzwDg X-Received: by 2002:a17:902:c404:b0:192:5eee:323a with SMTP id k4-20020a170902c40400b001925eee323amr64845990plk.28.1672758368507; Tue, 03 Jan 2023 07:06:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672758368; cv=none; d=google.com; s=arc-20160816; b=Jo+vUHZ/HyK9AYkJmVtXD7086m1M8xGK1x6UYCvVuKl41nnl/RKXMJwZhQBh8gXCjr p9AQ9gYvl6HEB7rzLlQdZCbmmHjHvuuOGq7aUiq02wR3qBhLxSWtM01A1M8hEAdBBkA+ +VXMdh8kUTM68oStaE9IYQkMInL0jA6TyjJsJvBc9fmiAzSV83RIwqqfxk3/GQu+YlVw VZ9V7y+dKQ2+4U6LcIoDhYDq1D92ZghbbyXKo+Ma9xk7+FOlCGfLmrloOrSiCdQhHa2m tw7C25/4ZY1Anh/+/6/5zJR6a5m5FkTv15e61nZyWTazdRlU/BISsXk5dG93NoQ6razn FUPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6zcaKdjHs/IOE4tOfaWhbeLsQns1sQhgnZYCw2R1ym8=; b=AM5lDbTt34LF27Q90heGvSnZGZVr1acS23Ef60jHYxfiYVm7g5bMbslbwxcfZDvBRH Efae3w87xHnfRnzzo5yr31eKy2Xunsmd65U1jtekS1dQI7avuirQ89MzYBWwsTCKuFWT iFCEWHJGGovo2/fTQlVN3GsWlpM4gNrnqms9qN2IdhWOkWZcz6ZcEgdyvDHY7hp/8SeU 4W9UZT5kw8KdFYABFH7GQbBRorh/K1/YH3ix6M2dBaTxl4bjRydC9/ZDmSzy3DyYPLdL x4JN8S/IWXZGb5QN9Id1SpzNfKTbci1ZvBKT6nFTeiYqbmlPq9IYp72drJc3eYzQ20hw ccQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nZC5hpye; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020a63fb10000000b004703be83ebesi31015628pgh.79.2023.01.03.07.06.00; Tue, 03 Jan 2023 07:06:08 -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=@gmail.com header.s=20210112 header.b=nZC5hpye; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231283AbjACOih (ORCPT + 60 others); Tue, 3 Jan 2023 09:38:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238071AbjACOiT (ORCPT ); Tue, 3 Jan 2023 09:38:19 -0500 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5CF711C27; Tue, 3 Jan 2023 06:37:43 -0800 (PST) Received: by mail-vk1-xa36.google.com with SMTP id i32so8744058vkr.12; Tue, 03 Jan 2023 06:37:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6zcaKdjHs/IOE4tOfaWhbeLsQns1sQhgnZYCw2R1ym8=; b=nZC5hpyefkKqFPCxNLXj4xdfqCcCUHARhke5VosBxauXt5iQGrV7rJJo8Pp4nUad/N ROye3eKw3XJXHhTWgbfjAJJmNnC9o0nWnnECJjTPWmMW4tMOl1oweto4c8UGihHmVAJ1 Mtebvgup+p1fn39ILtMdqQACp9bydidNVDGeO+51iP1gYKi7dZPws+DPLWyEg2t1g8wT Gy0EPP5PXh6FT7mrHfTMuC2FjUMI9I5N2n24tnzByHTxSD4yCtcR+vjI0jPCLbnteq7/ z4NWja17EZxTOuFsUQMohRlMur16Vihv8e3R9Z7gQDuh7P8c+hnYlzRYCv0tPb5YaukG g9cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6zcaKdjHs/IOE4tOfaWhbeLsQns1sQhgnZYCw2R1ym8=; b=4snmtWzTs+lqV5YFI3KqYmbwj/rMpV1pwsfIyinpTg9AiOzHXOQyPvtFC7DrgCdKlf GEy/mRuwURea4zDhHbkX5M2sqr0U2iFq6zJ1K0F95fedPp0dTfYGUoQvnZcWzEDeXpyy bhvpmqiSjAMEXuMZBhbDmpTcUJeIhwMxP4LOkVScs0GjjU0hFaK2Fzp0lm/Uyovmy/Zg rfyzJr9vEqyOeNyFl8bYr3rJ1jAV8GvhuUo6EHM0bVv+bPVRCS3mszf/E1HEX1opfwze 7/KLzv4CbicX17eaANUggwswVn7TXYEwmNDKfkIY1UUWzC+mrJXjB6reJ0NDWfrtPGs8 ZrBw== X-Gm-Message-State: AFqh2kp29n6MPJJtqeWikGK9te8PqyBrMARNdMo1KRUmysln6PZ6+i1n rptGJkK0u0RKrEr+BzyggUQ= X-Received: by 2002:ac5:c5d6:0:b0:3d5:8601:dac with SMTP id g22-20020ac5c5d6000000b003d586010dacmr10142535vkl.3.1672756662777; Tue, 03 Jan 2023 06:37:42 -0800 (PST) Received: from [192.168.1.201] (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with ESMTPSA id s13-20020a05620a0bcd00b006e16dcf99c8sm22532454qki.71.2023.01.03.06.37.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jan 2023 06:37:42 -0800 (PST) Message-ID: <04c0adce-3850-aa73-6bad-a10973d83df3@gmail.com> Date: Tue, 3 Jan 2023 09:37:41 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH net] net: dpaa: Fix dtsec check for PCS availability Content-Language: en-US To: Jiri Pirko 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 References: <20230103065038.2174637-1-seanga2@gmail.com> From: Sean Anderson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 1/3/23 04:15, Jiri Pirko wrote: > 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. Writing a kernel is a collaborative effort :) >> this condition. >> >> Fixes: 5d93cfcf7360 ("net: dpaa: Convert to phylink") >> Reported-by: Christian Zigotzky >> Signed-off-by: Sean Anderson > > Reviewed-by: Jiri Pirko