Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha
Commits
a3345b5a
Commit
a3345b5a
authored
Jul 06, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: fix endianess only when necessary
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
7dfac0aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
CHANGELOG.rst
CHANGELOG.rst
+7
-0
fa-dma.c
software/kernel/fa-dma.c
+4
-2
No files found.
CHANGELOG.rst
View file @
a3345b5a
...
...
@@ -6,6 +6,13 @@
Changelog
=========
5.0.4 - 2021-07-xx
==================
Fixed
-----
- sw: fix endianess only when required
5.0.3 - 2021-07-05
==================
Added:
...
...
software/kernel/fa-dma.c
View file @
a3345b5a
...
...
@@ -320,9 +320,11 @@ static int zfad_dma_block_to_pages(struct page **pages, unsigned int nr_pages,
static
void
zfad_dma_context_exit_svec
(
struct
zio_cset
*
cset
,
struct
zfad_block
*
zfad_block
)
{
struct
fa_dev
*
fa
=
cset
->
zdev
->
priv_d
;
__endianness
(
zfad_block
->
block
->
datalen
,
zfad_block
->
block
->
data
);
if
(
fa_is_flag_set
(
fa
,
FMC_ADC_BIG_ENDIAN
))
__endianness
(
zfad_block
->
block
->
datalen
,
zfad_block
->
block
->
data
);
kfree
(
zfad_block
->
dma_ctx
);
}
...
...
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