Patch "net: sched: wrap tc_skip_wrapper with CONFIG_RETPOLINE" has been added to the 6.3-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

    net: sched: wrap tc_skip_wrapper with CONFIG_RETPOLINE

to the 6.3-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:
     net-sched-wrap-tc_skip_wrapper-with-config_retpoline.patch
and it can be found in the queue-6.3 subdirectory.

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



commit 7f0542786bfc5d389600be0c16f07e9bf322a8bf
Author: Min-Hua Chen <minhuadotchen@xxxxxxxxx>
Date:   Sat Jun 3 07:52:09 2023 +0800

    net: sched: wrap tc_skip_wrapper with CONFIG_RETPOLINE
    
    [ Upstream commit 8cde87b007dad2e461015ff70352af56ceb02c75 ]
    
    This patch fixes the following sparse warning:
    
    net/sched/sch_api.c:2305:1: sparse: warning: symbol 'tc_skip_wrapper' was not declared. Should it be static?
    
    No functional change intended.
    
    Signed-off-by: Min-Hua Chen <minhuadotchen@xxxxxxxxx>
    Acked-by: Pedro Tammela <pctammela@xxxxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 3f7311529cc00..34c90c9c2fcad 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -2324,7 +2324,9 @@ static struct pernet_operations psched_net_ops = {
 	.exit = psched_net_exit,
 };
 
+#if IS_ENABLED(CONFIG_RETPOLINE)
 DEFINE_STATIC_KEY_FALSE(tc_skip_wrapper);
+#endif
 
 static int __init pktsched_init(void)
 {



[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