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
8c1e79a4
Commit
8c1e79a4
authored
May 09, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: in no blocks, then do not try to free
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
52912c86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
fa-zio-trg.c
kernel/fa-zio-trg.c
+5
-0
No files found.
kernel/fa-zio-trg.c
View file @
8c1e79a4
...
...
@@ -398,6 +398,11 @@ static void zfat_abort(struct zio_ti *ti)
unsigned
int
i
;
dev_dbg
(
&
fa
->
fmc
->
dev
,
"Aborting trigger
\n
"
);
/* Nothing to free */
if
(
!
zfad_block
)
return
;
/* Free all blocks */
for
(
i
=
0
;
i
<
fa
->
n_shots
;
++
i
)
zio_buffer_free_block
(
bi
,
zfad_block
[
i
].
block
);
...
...
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