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
350fb5c5
Unverified
Commit
350fb5c5
authored
Dec 09, 2021
by
Karen Xie
Committed by
GitHub
Dec 09, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #138 from Mmiglio/master
Segmentation fault of XDMA tools/reg_rw.C
parents
edc6a6b1
e9d00c6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
XDMA/linux-kernel/tools/reg_rw.c
XDMA/linux-kernel/tools/reg_rw.c
+1
-1
No files found.
XDMA/linux-kernel/tools/reg_rw.c
View file @
350fb5c5
...
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
...
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
device
=
strdup
(
argv
[
1
]);
device
=
strdup
(
argv
[
1
]);
target
=
strtoul
(
argv
[
2
],
0
,
0
);
target
=
strtoul
(
argv
[
2
],
0
,
0
);
printf
(
"device: %s, address: 0x%08x, access %s
: %s
.
\n
"
,
printf
(
"device: %s, address: 0x%08x, access %s.
\n
"
,
device
,
(
unsigned
int
)
target
,
argc
>=
4
?
"write"
:
"read"
);
device
,
(
unsigned
int
)
target
,
argc
>=
4
?
"write"
:
"read"
);
/* data given? */
/* data given? */
...
...
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