Message ID | 1614971839-2686-1-git-send-email-abhinavk@codeaurora.org |
---|---|
State | Accepted |
Commit | 86bf254549badbf754ace6b09f044fe18a959f28 |
Headers | show |
Series | [1/3] drm/msm/dp: Fix indentation kbot warnings in DP driver | expand |
Quoting Abhinav Kumar (2021-03-05 11:17:17) > Fix a couple of indentation warnings reported by > kbot across MSM DP driver: > > New smatch warnings: > drivers/gpu/drm/msm/dp/dp_debug.c:229 dp_test_data_show() > warn: inconsistent indenting > > drivers/gpu/drm/msm/dp/dp_power.c:203 dp_power_clk_enable() > warn: inconsistent indenting > > Reported-by: kernel test robot <lkp@intel.com> > Reported-by: Dan Carpenter <dan.carpenter@oracle.com> > Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> > --- Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Hello: This series was applied to qcom/linux.git (refs/heads/for-next): On Fri, 5 Mar 2021 11:17:17 -0800 you wrote: > Fix a couple of indentation warnings reported by > kbot across MSM DP driver: > > New smatch warnings: > drivers/gpu/drm/msm/dp/dp_debug.c:229 dp_test_data_show() > warn: inconsistent indenting > > [...] Here is the summary with links: - [1/3] drm/msm/dp: Fix indentation kbot warnings in DP driver https://git.kernel.org/qcom/c/86bf254549ba - [2/3] drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver https://git.kernel.org/qcom/c/7d649cfe0314 - [3/3] drm/msm/dp: delete unnecessary debugfs error handling https://git.kernel.org/qcom/c/cb3fd74a03e8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/gpu/drm/msm/dp/dp_debug.c b/drivers/gpu/drm/msm/dp/dp_debug.c index 84670bc..6c6998f 100644 --- a/drivers/gpu/drm/msm/dp/dp_debug.c +++ b/drivers/gpu/drm/msm/dp/dp_debug.c @@ -226,7 +226,7 @@ static int dp_test_data_show(struct seq_file *m, void *data) debug->link->test_video.test_h_width); seq_printf(m, "vdisplay: %d\n", debug->link->test_video.test_v_height); - seq_printf(m, "bpc: %u\n", + seq_printf(m, "bpc: %u\n", dp_link_bit_depth_to_bpc(bpc)); } else seq_puts(m, "0"); diff --git a/drivers/gpu/drm/msm/dp/dp_power.c b/drivers/gpu/drm/msm/dp/dp_power.c index 9c4ea00..3961ba4 100644 --- a/drivers/gpu/drm/msm/dp/dp_power.c +++ b/drivers/gpu/drm/msm/dp/dp_power.c @@ -269,7 +269,7 @@ int dp_power_clk_enable(struct dp_power *dp_power, DRM_ERROR("failed to '%s' clks for: %s. err=%d\n", enable ? "enable" : "disable", dp_parser_pm_name(pm_type), rc); - return rc; + return rc; } if (pm_type == DP_CORE_PM)
Fix a couple of indentation warnings reported by kbot across MSM DP driver: New smatch warnings: drivers/gpu/drm/msm/dp/dp_debug.c:229 dp_test_data_show() warn: inconsistent indenting drivers/gpu/drm/msm/dp/dp_power.c:203 dp_power_clk_enable() warn: inconsistent indenting Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> --- drivers/gpu/drm/msm/dp/dp_debug.c | 2 +- drivers/gpu/drm/msm/dp/dp_power.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)