Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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 - Software
Commits
beb91589
Commit
beb91589
authored
Mar 21, 2013
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[trivial] fa-zio-trg.c: active block must be NULL
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
aafe1ffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
fa-zio-trg.c
kernel/fa-zio-trg.c
+3
-2
No files found.
kernel/fa-zio-trg.c
View file @
beb91589
...
...
@@ -202,7 +202,7 @@ static void zfat_change_status(struct zio_ti *ti, unsigned int status)
* zfat_data_done
* @cset: channels set
*
* Transfer is over for all
the active_block
. Store all blocks and free
* Transfer is over for all
blocks
. Store all blocks and free
* zfad_blocks vector. Here we are storing only blocks
* that were filled by a trigger fire. If for some reason the data_done
* occurs before the natural end of the acquisition, un-filled block
...
...
@@ -237,7 +237,7 @@ static int zfat_data_done(struct zio_cset *cset)
fa
->
n_shots
=
0
;
fa
->
n_fires
=
0
;
kfree
(
zfad_block
);
cset
->
interleave
->
active_block
=
NULL
;
cset
->
interleave
->
priv_d
=
NULL
;
return
0
;
}
...
...
@@ -342,6 +342,7 @@ static void zfat_abort(struct zio_ti *ti)
for
(
i
=
0
;
i
<
fa
->
n_shots
;
++
i
)
bi
->
b_op
->
free_block
(
bi
,
zfad_block
[
i
].
block
);
kfree
(
zfad_block
);
cset
->
interleave
->
priv_d
=
NULL
;
}
/* Output it is not supported by this trigger */
...
...
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