Patch "drm/msm/dp: Add a missing semi-colon" has been added to the 5.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/msm/dp: Add a missing semi-colon

to the 5.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-msm-dp-add-a-missing-semi-colon.patch
and it can be found in the queue-5.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 069d26fc7a71db9fbe638204ee4052040b76f090
Author: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Date:   Sat Feb 6 20:18:58 2021 -0800

    drm/msm/dp: Add a missing semi-colon
    
    [ Upstream commit 182b4a2d251305201b6f9cae29067f7112f05835 ]
    
    A missing semicolon here causes my external display to stop working.
    Indeed, missing the semicolon on the return statement leads to
    dp_panel_update_tu_timings() not existing because the compiler thinks
    it's part of the return statement of a void function, so it must not be
    important.
    
      $ ./scripts/bloat-o-meter before.o after.o
      add/remove: 1/1 grow/shrink: 0/1 up/down: 7400/-7540 (-140)
      Function                                     old     new   delta
      dp_panel_update_tu_timings                     -    7400   +7400
      _dp_ctrl_calc_tu.constprop                 18024   17900    -124
      dp_panel_update_tu_timings.constprop        7416       -   -7416
      Total: Before=54440, After=54300, chg -0.26%
    
    Add a semicolon so this function works like it used to.
    
    Cc: Sean Paul <sean@xxxxxxxxxx>
    Cc: Kuogee Hsieh <khsieh@xxxxxxxxxxxxxx>
    Cc: linux-arm-msm@xxxxxxxxxxxxxxx
    Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
    Cc: freedreno@xxxxxxxxxxxxxxxxxxxxx
    Cc: Lee Jones <lee.jones@xxxxxxxxxx>
    Fixes: cc9014bf63a4 ("drm/msm/dp/dp_ctrl: Move 'tu' from the stack to the heap")
    Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
    Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.c b/drivers/gpu/drm/msm/dp/dp_ctrl.c
index e3462f5d96d75..6cbe10af0a7af 100644
--- a/drivers/gpu/drm/msm/dp/dp_ctrl.c
+++ b/drivers/gpu/drm/msm/dp/dp_ctrl.c
@@ -631,7 +631,7 @@ static void _dp_ctrl_calc_tu(struct dp_tu_calc_input *in,
 
 	tu = kzalloc(sizeof(*tu), GFP_KERNEL);
 	if (!tu)
-		return
+		return;
 
 	dp_panel_update_tu_timings(in, tu);
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux