From patchwork Mon Jul 10 20:06:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13307567 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7B24EB64DA for ; Mon, 10 Jul 2023 20:18:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230252AbjGJUSS (ORCPT ); Mon, 10 Jul 2023 16:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbjGJUSR (ORCPT ); Mon, 10 Jul 2023 16:18:17 -0400 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 4C9C3133 for ; Mon, 10 Jul 2023 13:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689020250; 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; bh=MatPkdlfWwwrlUu3EVslUzYwQyXM940i5KEhzgEgAcU=; b=RD+hDi9cpwOmhPSzV/tdg0/baATuWNefhMompjAqVSuZ4QytETaisOeHxZt0owdZC7ys+u 7px/Q50prhgEOFo6e2Gi5o3D+hMswORxkyC09mG20TG6WHDu6wKOfoHj1Hgu9GSzm2jKX4 UtxYzTrE38izrpgcaKfY4tJu8FXOKsg= Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-299-CC8FQ39eOjiqoaJ_qLx18Q-1; Mon, 10 Jul 2023 16:17:29 -0400 X-MC-Unique: CC8FQ39eOjiqoaJ_qLx18Q-1 Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-57320c10635so56757857b3.3 for ; Mon, 10 Jul 2023 13:17:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689020249; x=1691612249; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MatPkdlfWwwrlUu3EVslUzYwQyXM940i5KEhzgEgAcU=; b=ZSwmiMccnrRfMquGzxmdMMXQzp6CZM9uf4fcsXPVwg7znO5SFtZMxGZWaf4XgnE4rj fFsYmQkJ3dYFHSlR/0/KpToL/R4dnpx8KLCN19nXJjDAd/YR2hNVOsRpnc48BkBsOVew j2foyw7sfIswO1GOm6x2CCPzj0YundwrKwPcTGKZdM8zPvp6GeFqUblotKG2L/fPBlTT LX2E6gMj+IxeBymnN+cop22ApX4Cxoouj6UblreC0vqPqtDRMLvoChe1ztXPqrikNhMU ZzIPRMLT21obDUVFjFegRKmfKkOHxaxlnRgwf4euiSzW6++7SThtmF8YtnH4oD60WSwE z9cw== X-Gm-Message-State: ABy/qLZBjMBXRadsXfSpd9PUQ2LM3dsJvmqwqKNOK4yRpsJqBteEhUQI pMkMhd5mpuVi4n8sKXpdSuUA4KIcbaqLgRKseJLvpzRxTaWTUyOSmZiVBK+Ac37rbkCGQaTVQFA eaS4N9PjCIt+lwhLHmolP5Ko5QQ== X-Received: by 2002:a81:4995:0:b0:569:e7cb:cd4e with SMTP id w143-20020a814995000000b00569e7cbcd4emr12772040ywa.48.1689020248801; Mon, 10 Jul 2023 13:17:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlHyRJxkGXCriSJqC1waS5qykotJRzMqF5zfNpiybzK4XMv35z9jl2wuOjlnU4LLJpYREhCLgA== X-Received: by 2002:a81:4995:0:b0:569:e7cb:cd4e with SMTP id w143-20020a814995000000b00569e7cbcd4emr12772020ywa.48.1689020248527; Mon, 10 Jul 2023 13:17:28 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id j12-20020a81920c000000b0056d2a19ad91sm155097ywg.103.2023.07.10.13.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 13:17:28 -0700 (PDT) From: Andrew Halaney To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, netdev@vger.kernel.org, mcoquelin.stm32@gmail.com, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, joabreu@synopsys.com, alexandre.torgue@foss.st.com, peppe.cavallaro@st.com, bhupesh.sharma@linaro.org, vkoul@kernel.org, linux-arm-msm@vger.kernel.org, andrew@lunn.ch, simon.horman@corigine.com, Andrew Halaney Subject: [PATCH net-next v2 0/3] net: stmmac: dwmac-qcom-ethqos: Improve error handling Date: Mon, 10 Jul 2023 15:06:36 -0500 Message-ID: <20230710201636.200412-1-ahalaney@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series includes some very minor quality of life patches in the error handling. I recently ran into a few issues where these patches would have made my life easier (messing with the devicetree, dependent driver of this failing, and incorrect kernel configs resulting in this driver not probing). v1: https://lore.kernel.org/netdev/20230629191725.1434142-1-ahalaney@redhat.com/ Changes since v1: * Collect tags (Andrew Lunn) * Switch to of_get_phy_mode() (Andrew Lunn) * Follow netdev patch submission process (net-next subject, wait until merge window is open) (Simon) Andrew Halaney (3): net: stmmac: dwmac-qcom-ethqos: Use of_get_phy_mode() over device_get_phy_mode() net: stmmac: dwmac-qcom-ethqos: Use dev_err_probe() net: stmmac: dwmac-qcom-ethqos: Log more errors in probe .../stmicro/stmmac/dwmac-qcom-ethqos.c | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-)