Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
OpenXG-RAN
Commits
fa5bf3b3
Commit
fa5bf3b3
authored
Jun 02, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use posix_memalign() for pnf_p7_t creation
parent
4b98742d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
nfapi/open-nFAPI/pnf/src/pnf_p7_interface.c
nfapi/open-nFAPI/pnf/src/pnf_p7_interface.c
+3
-2
No files found.
nfapi/open-nFAPI/pnf/src/pnf_p7_interface.c
View file @
fa5bf3b3
...
@@ -21,9 +21,10 @@
...
@@ -21,9 +21,10 @@
nfapi_pnf_p7_config_t
*
nfapi_pnf_p7_config_create
()
nfapi_pnf_p7_config_t
*
nfapi_pnf_p7_config_create
()
{
{
pnf_p7_t
*
_this
=
(
pnf_p7_t
*
)
calloc
(
1
,
sizeof
(
pnf_p7_t
));
pnf_p7_t
*
_this
=
NULL
;
int
rc
=
posix_memalign
(
&
_this
,
32
,
sizeof
(
pnf_p7_t
));
if
(
_this
==
0
)
if
(
_this
==
NULL
||
rc
!=
0
)
return
0
;
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment