Projects
Eulaceura:Factory
oncn-bwm
_service:obs_scm:0007-fix-net_qos_stats-warning...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0007-fix-net_qos_stats-warning-when-qos-not-enable.patch of Package oncn-bwm
From f10ec3e0c83efedb238f1ed55e007f4905410463 Mon Sep 17 00:00:00 2001 From: kwb0523 <kwb0523@163.com> Date: Wed, 18 Oct 2023 16:29:50 +0800 Subject: [PATCH] fix net_qos_stats warning when qos not enable --- ko/bwm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ko/bwm.c b/ko/bwm.c index 6be6cbe..8951217 100644 --- a/ko/bwm.c +++ b/ko/bwm.c @@ -310,11 +310,7 @@ static int proc_net_qos_stats_single_open(struct inode *inode, struct file *file ret = qos_cmd_upcall(cmd); if (ret != 0) { BWM_LOG_ERR("read net_qos_stats failed"); - atomic_xchg(&stats_flag, 0); - return ret; } - single_open(file, proc_net_qos_stats_open, NULL); - return 0; } atomic_xchg(&stats_flag, 0); return single_open(file, proc_net_qos_stats_open, NULL); -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2