Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
7a2db6c1
Commit
7a2db6c1
authored
Mar 24, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation warning removal
parent
f37de524
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
targets/ARCH/EXMIMO/DRIVER/eurecom/exmimo_fw.c
targets/ARCH/EXMIMO/DRIVER/eurecom/exmimo_fw.c
+1
-3
No files found.
targets/ARCH/EXMIMO/DRIVER/eurecom/exmimo_fw.c
View file @
7a2db6c1
...
@@ -193,7 +193,7 @@ int exmimo_assign_shm_vars(int card_id)
...
@@ -193,7 +193,7 @@ int exmimo_assign_shm_vars(int card_id)
int
exmimo_allocate_rx_tx_buffers
(
int
card_id
)
int
exmimo_allocate_rx_tx_buffers
(
int
card_id
)
{
{
size_t
size
;
size_t
size
;
int
j
,
i
;
int
j
;
dma_addr_t
dma_addr_dummy
;
dma_addr_t
dma_addr_dummy
;
// Round up to the next PAGE_SIZE (typ. 4096 bytes)
// Round up to the next PAGE_SIZE (typ. 4096 bytes)
size
=
(
ADAC_BUFFERSZ_PERCHAN_B
>>
PAGE_SHIFT
)
+
1
;
size
=
(
ADAC_BUFFERSZ_PERCHAN_B
>>
PAGE_SHIFT
)
+
1
;
...
@@ -243,8 +243,6 @@ int exmimo_allocate_rx_tx_buffers(int card_id)
...
@@ -243,8 +243,6 @@ int exmimo_allocate_rx_tx_buffers(int card_id)
*/
*/
int
exmimo_memory_alloc
(
int
card
)
int
exmimo_memory_alloc
(
int
card
)
{
{
int
i
;
if
(
bigshm_init
(
card
)
)
{
if
(
bigshm_init
(
card
)
)
{
printk
(
"exmimo_memory_alloc(): bigshm_init failed for card %d.
\n
"
,
card
);
printk
(
"exmimo_memory_alloc(): bigshm_init failed for card %d.
\n
"
,
card
);
return
-
ENOMEM
;
return
-
ENOMEM
;
...
...
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