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: 13307575 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8587FEB64DA for ; Mon, 10 Jul 2023 20:18:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3lrmJom+6R7NaFapOWDxVbceuKMtdxx+321sCiIs8FY=; b=h4UhnxkHwwnr6N 9Q8oRN0yq1hlZ9KnfDTARL6xmQcC0erI7CDOUwfMrU+RHfdXlMQyHm6BKuC0ONuk+bNbADomSEWDt DEyEutcKcUS9OH+W5VBNosw2L1SfSrXJZtVm6EseryUSXL71ScwQJBmXNZA7/N4mCSiJIDa1JCQb0 XUWrVSO9QdxINJUnFrPmZwy58FYiS4Ux/5ySNzzLahocUNJGemwKl9MoS466YyHhl88Mz/fo+V5cd pO/xi+UJlZI6DA5nQXf+UQ2+aH7b4RSPqZkmYNzojQJCQVHtsktVl55wyvVd0F8BTn1JxcSotxfw8 5dC+3WodVroz7ZMlbQFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qIxKC-00Cdx5-0n; Mon, 10 Jul 2023 20:17:36 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qIxK9-00CdwE-2T for linux-arm-kernel@lists.infradead.org; Mon, 10 Jul 2023 20:17:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689020252; 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=Tid/h27pAg+nnYQaC+zRweaxGRwM1E1a11r1wFJGgcPnpQozWoSbTt7bfDTHEAD/KGKyZp IioSW96xHwp3zNbCg8RVZ3eNWUFFO7rdKnw9sYXPR1102rWA3gUdZvEjZRZOQE/k3Dgawb mJ8dRam2xwpctpGoFqC9DLC655DrYI4= Received: from mail-yw1-f197.google.com (mail-yw1-f197.google.com [209.85.128.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-610-tcFK6dpbOyanFmTqM4GmWw-1; Mon, 10 Jul 2023 16:17:29 -0400 X-MC-Unique: tcFK6dpbOyanFmTqM4GmWw-1 Received: by mail-yw1-f197.google.com with SMTP id 00721157ae682-573d70da2dcso56915597b3.1 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=NSdRaeKQCPuIv7V2cmNCMtsSUZ6GLePgszyqAeUXATh/7zJTif7vUihcCsDEOa09kI TpRf7mSb1VlgfP9+iT3AHEhPkYB+00zvicS0KP1GMJB0aVSjs9FAgqmJPqgdFeA6RAUm fVVqAAiZNnTVYS7ZMFn4oliVycpbTjpd8UpWCXT8WjnuvIxeZdiDGshuneF6m980N/Gg d2F/XIiKElSfPAF7+zOGQnAcdj6YzWhna1zIWArKvFo+b7GBKNL7ScoWtSc4e0b+kyOA k3duMONe6azSc/sWwuOFtVD6Q9n0G+TMW141gbESjhW6UpyEqC4SaPZ5l26NThBAzwWw Ihog== X-Gm-Message-State: ABy/qLZ+ZVCZv9Qe4LXvR0aZ7o6+Lq+r3v+3fe9p9fV74xA01s5ZrmFA z9oJEY9mHgyQB/jf0MVUvMhAWvs6GgKEv23xdb/5X4hz4Yo2mXTtAHvC9qabMo27FlbbwGO9uDx hcJlP8rkr1bT5ibl3tbQ1YAPSkXNrkg/15Fk= X-Received: by 2002:a81:4995:0:b0:569:e7cb:cd4e with SMTP id w143-20020a814995000000b00569e7cbcd4emr12772028ywa.48.1689020248799; 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 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230710_131733_870845_D4C6E6B7 X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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(-)