Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
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
Simple VME FMC Carrier SVEC
Commits
d28b0705
Commit
d28b0705
authored
Apr 14, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: better handle of fpga_mgr_get errors
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
8b0ad660
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
svec-compat.c
software/kernel/svec-compat.c
+2
-2
No files found.
software/kernel/svec-compat.c
View file @
d28b0705
...
...
@@ -94,8 +94,8 @@ int compat_svec_fw_load(struct svec_dev *svec_dev, const char *name)
int
err
;
mgr
=
fpga_mgr_get
(
&
svec_dev
->
dev
);
if
(
IS_ERR
(
mgr
))
return
-
ENODEV
;
if
(
IS_ERR
_OR_NULL
(
mgr
))
return
IS_ERR
(
mgr
)
?
PTR_ERR
(
mgr
)
:
-
ENODEV
;
err
=
fpga_mgr_lock
(
mgr
);
if
(
err
)
...
...
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