Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Software Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
FMC Software Support
Commits
af12db3c
Commit
af12db3c
authored
Sep 23, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmc: minor review to dmesg prints probe/remove
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
4065b1ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
fmc-core.c
drivers/fmc/fmc-core.c
+2
-4
No files found.
drivers/fmc/fmc-core.c
View file @
af12db3c
...
...
@@ -301,14 +301,12 @@ int fmc_carrier_register(struct device *parent,
for
(
i
=
0
;
i
<
carrier
->
slot_nr
;
++
i
)
{
carrier
->
slot
[
i
]
=
fmc_carrier_add_slot
(
carrier
,
&
slot_info
[
i
]);
if
(
IS_ERR_OR_NULL
(
carrier
->
slot
[
i
]))
{
dev_err
(
&
carrier
->
dev
,
"Failed to
add slot %d
\n
"
,
i
);
dev_err
(
&
carrier
->
dev
,
"Failed to add slot %d
\n
"
,
i
);
err
=
-
EINVAL
;
goto
err_slot
;
}
}
dev_info
(
parent
,
"FMC carrier registration: success
\n
"
);
return
0
;
err_slot:
...
...
@@ -321,7 +319,7 @@ err_name:
err_alloc:
ida_simple_remove
(
&
fmc_carrier_ida
,
id
);
err_ida:
dev_err
(
parent
,
"FMC carrier registration: fail
\n
"
);
dev_err
(
parent
,
"FMC carrier registration: fail
ed %d
\n
"
,
err
);
return
err
;
}
EXPORT_SYMBOL
(
fmc_carrier_register
);
...
...
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