Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
dma_ip_drivers
Commits
a53ec4dd
Unverified
Commit
a53ec4dd
authored
Feb 26, 2020
by
Karen Xie
Committed by
GitHub
Feb 26, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #46 from unhold/no-msix-crash
Fix a Linux crash when pci_msix_vec_count() returns -EINVAL
parents
7b7b4ce4
30246046
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
QDMA/linux-kernel/libqdma/qdma_intr.c
QDMA/linux-kernel/libqdma/qdma_intr.c
+1
-1
No files found.
QDMA/linux-kernel/libqdma/qdma_intr.c
View file @
a53ec4dd
...
@@ -532,7 +532,7 @@ int intr_setup(struct xlnx_dma_dev *xdev)
...
@@ -532,7 +532,7 @@ int intr_setup(struct xlnx_dma_dev *xdev)
pr_debug
(
"dev %s, xdev->num_vecs = %d
\n
"
,
pr_debug
(
"dev %s, xdev->num_vecs = %d
\n
"
,
dev_name
(
&
xdev
->
conf
.
pdev
->
dev
),
xdev
->
num_vecs
);
dev_name
(
&
xdev
->
conf
.
pdev
->
dev
),
xdev
->
num_vecs
);
if
(
num_vecs
=
=
0
)
{
if
(
num_vecs
<
=
0
)
{
pr_warn
(
"MSI-X not supported, running in polled mode
\n
"
);
pr_warn
(
"MSI-X not supported, running in polled mode
\n
"
);
return
0
;
return
0
;
}
}
...
...
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