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
e9d00c6c
Unverified
Commit
e9d00c6c
authored
Dec 06, 2021
by
Matteo Migliorini
Committed by
GitHub
Dec 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed seg fault
little bug in XDMA/tools/reg_rw.c
parent
edc6a6b1
Changes
1
Show 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 @
e9d00c6c
...
@@ -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