Message ID | 20240903005655.4183-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers | show |
Series | [-next] drm/msm: Remove unneeded semicolon | expand |
On 9/2/2024 5:56 PM, Yang Li wrote: > ./drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:282:2-3: Unneeded semicolon > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9852 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Change looks fine but can you pls have a short one line in the commit text instead of just pasting the error from the errorchecker? > diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c > index 0e3a2b16a2ce..65cf237c6b4e 100644 > --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c > +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c > @@ -279,7 +279,7 @@ static int pll_get_post_div(struct hdmi_8998_post_divider *pd, u64 bclk) > case 25: > found_hsclk_divsel = 14; > break; > - }; > + } > > pd->vco_freq = found_vco_freq; > pd->tx_band_sel = found_tx_band_sel;
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c index 0e3a2b16a2ce..65cf237c6b4e 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c @@ -279,7 +279,7 @@ static int pll_get_post_div(struct hdmi_8998_post_divider *pd, u64 bclk) case 25: found_hsclk_divsel = 14; break; - }; + } pd->vco_freq = found_vco_freq; pd->tx_band_sel = found_tx_band_sel;
./drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:282:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9852 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)