[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAD=FV=V5DDNtmpLRDGgSx1YVbd8UqTpcYFmvSAxFczn_JY+VmQ@mail.gmail.com>
Date: Tue, 10 Jan 2023 10:13:13 -0800
From: Doug Anderson <dianders@...omium.org>
To: Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc: dmitry.baryshkov@...aro.org, robdclark@...il.com,
quic_abhinavk@...cinc.com, sean@...rly.run, airlied@...il.com,
daniel@...ll.ch, marijn.suijten@...ainline.org, vkoul@...nel.org,
marex@...x.de, vladimir.lypak@...il.com,
linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/msm/dsi: Drop the redundant fail label
Hi,
On Mon, Jan 9, 2023 at 6:50 PM Jiasheng Jiang <jiasheng@...as.ac.cn> wrote:
>
> @@ -1954,9 +1949,8 @@ int msm_dsi_host_init(struct msm_dsi *msm_dsi)
>
> msm_host->irq = irq_of_parse_and_map(pdev->dev.of_node, 0);
> if (msm_host->irq < 0) {
> - ret = msm_host->irq;
> dev_err(&pdev->dev, "failed to get irq: %d\n", ret);
> - return ret;
> + return msm_host->irq;
The dev_err() is no longer printing the right value of "ret" above.
Other than that this looks reasonable to me. Feel free to add my
Reviewed-by tag once the above bug is fixed.
-Doug
Powered by blists - more mailing lists