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
e4cc7b04
Commit
e4cc7b04
authored
Oct 27, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix/device-ptr' into develop
parents
5e488d67
fa4cfedf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
svec-core.c
software/kernel/svec-core.c
+4
-1
No files found.
software/kernel/svec-core.c
View file @
e4cc7b04
...
...
@@ -30,7 +30,7 @@
#include <linux/uaccess.h>
#include <linux/vmalloc.h>
#include <linux/fpga/fpga-mgr.h>
#include
<vmebus.h>
#include
"vmebus.h"
#include "svec.h"
#include "svec-compat.h"
...
...
@@ -562,6 +562,9 @@ static int svec_probe(struct device *dev, unsigned int ndev)
struct
svec_dev
*
svec
;
int
err
;
if
(
WARN
(
dev
==
NULL
,
"Invalid VME Device
\n
"
))
return
-
1
;
svec
=
kzalloc
(
sizeof
(
struct
svec_dev
),
GFP_KERNEL
);
if
(
!
svec
)
{
err
=
-
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