[PATCH OLK-5.10] net/oenetcls: work around l0 cache
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ID5HIM -------------------------------- L0 cache is not support by some platforms, work around it. Fixes: d60758b0ffcd ("net/oenetcls: introduce oenetcls for network optimization") Signed-off-by: Wang Liang <wangliang74@huawei.com> --- net/oenetcls/oenetcls_l0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/oenetcls/oenetcls_l0.c b/net/oenetcls/oenetcls_l0.c index b820a1cf96bd..2a12734e53b3 100644 --- a/net/oenetcls/oenetcls_l0.c +++ b/net/oenetcls/oenetcls_l0.c @@ -147,6 +147,9 @@ void init_oecls_l0_cache(void) int ret = 0; struct l0_vma_data *sbkpages; + /* L0 cache is not support by some platforms, work around this */ + return; + oecls_l0_cache = kzalloc(sizeof(*oecls_l0_cache), GFP_KERNEL); if (!oecls_l0_cache) { oecls_error("kzalloc oecls_l0_cache fail!\n"); -- 2.34.1
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/18864 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/K5I... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/18864 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/K5I...
participants (2)
-
patchwork bot -
Wang Liang