Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
8b00361f
Commit
8b00361f
authored
4 years ago
by
Thomas Schlichter
Browse files
Options
Downloads
Patches
Plain Diff
fix warnings identified by CI
parent
283a0604
No related branches found
No related tags found
5 merge requests
!1757
Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
,
!1493
fix DL arq errors in UE
,
!1104
Integration 2021 wk12 b
,
!1103
Integration 2021 wk12 b
,
!1037
5G NR DL MIMO
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
common/utils/ocp_itti/intertask_interface.cpp
+3
-1
3 additions, 1 deletion
common/utils/ocp_itti/intertask_interface.cpp
executables/nr-gnb.c
+1
-1
1 addition, 1 deletion
executables/nr-gnb.c
targets/ARCH/iqplayer/iqplayer_lib.c
+0
-1
0 additions, 1 deletion
targets/ARCH/iqplayer/iqplayer_lib.c
with
4 additions
and
3 deletions
common/utils/ocp_itti/intertask_interface.cpp
+
3
−
1
View file @
8b00361f
...
...
@@ -339,7 +339,9 @@ extern "C" {
int
itti_create_queue
(
const
task_info_t
*
taskInfo
)
{
pthread_mutex_lock
(
&
lock_nb_queues
);
int
newQueue
=
nb_queues
++
;
AssertFatal
(
tasks
=
(
task_list_t
**
)
realloc
(
tasks
,
nb_queues
*
sizeof
(
*
tasks
)),
""
);
task_list_t
**
new_tasks
=
(
task_list_t
**
)
realloc
(
tasks
,
nb_queues
*
sizeof
(
*
tasks
));
AssertFatal
(
new_tasks
!=
NULL
,
"could not realloc() tasks list"
);
tasks
=
new_tasks
;
tasks
[
newQueue
]
=
new
task_list_t
;
pthread_mutex_unlock
(
&
lock_nb_queues
);
LOG_I
(
TMR
,
"Starting itti queue: %s as task %d
\n
"
,
taskInfo
->
name
,
newQueue
);
...
...
This diff is collapsed.
Click to expand it.
executables/nr-gnb.c
+
1
−
1
View file @
8b00361f
...
...
@@ -874,7 +874,7 @@ void init_gNB_proc(int inst) {
gNB
->
threadPool
=
(
tpool_t
*
)
malloc
(
sizeof
(
tpool_t
));
gNB
->
respDecode
=
(
notifiedFIFO_t
*
)
malloc
(
sizeof
(
notifiedFIFO_t
));
int
numCPU
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
uint32_t
num_threads_pusch
;
uint32_t
num_threads_pusch
=
1
;
paramdef_t
PUSCHThreads
[]
=
NUM_THREADS_DESC
;
config_get
(
PUSCHThreads
,
sizeof
(
PUSCHThreads
)
/
sizeof
(
paramdef_t
),
NULL
);
int
threadCnt
=
min
(
numCPU
,
num_threads_pusch
);
...
...
This diff is collapsed.
Click to expand it.
targets/ARCH/iqplayer/iqplayer_lib.c
+
0
−
1
View file @
8b00361f
...
...
@@ -25,7 +25,6 @@
*/
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64
#define NB_ANTENNAS_RX 2
#include
<string.h>
#include
<pthread.h>
#include
<unistd.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment