Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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 PCIe FMC carrier SPEC - Software
Commits
0ba886f6
Commit
0ba886f6
authored
Apr 08, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: whitespace fixes
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
2ec4c570
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile
tools/Makefile
+2
-2
speclib.c
tools/speclib.c
+2
-2
No files found.
tools/Makefile
View file @
0ba886f6
CFLAGS
=
-ggdb
-Wall
-fPIC
-I
../kernel
LDFLAGS
=
-L
.
-lspec
CFLAGS
=
-ggdb
-Wall
-fPIC
-I
../kernel
LDFLAGS
=
-L
.
-lspec
LIB
=
libspec.a
LIBOBJ
=
speclib.o loader-ll.o
...
...
tools/speclib.c
View file @
0ba886f6
...
...
@@ -100,7 +100,7 @@ static int spec_scan(int *bus, int *devfn)
"0000:%02x:%02x.0"
,
&
my_bus
,
&
my_devfn
)
==
2
)
{
if
(
spec_check_id
(
my_bus
,
my_devfn
))
if
(
spec_check_id
(
my_bus
,
my_devfn
))
{
*
bus
=
my_bus
;
*
devfn
=
my_devfn
;
...
...
@@ -115,7 +115,7 @@ static int spec_scan(int *bus, int *devfn)
}
else
{
// Check if the requested card is available
if
(
spec_check_id
(
*
bus
,
*
devfn
))
if
(
spec_check_id
(
*
bus
,
*
devfn
))
found
=
1
;
}
...
...
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