Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FMC Software Support
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
FMC Software Support
Commits
936c0cca
Commit
936c0cca
authored
1 year ago
by
Federico Vaga
Browse files
Options
Downloads
Patches
Plain Diff
fmc: add error message when EEPROM not found
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
daaeb031
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/fmc/fmc-eeprom.c
+1
-0
1 addition, 0 deletions
drivers/fmc/fmc-eeprom.c
with
1 addition
and
0 deletions
drivers/fmc/fmc-eeprom.c
+
1
−
0
View file @
936c0cca
...
...
@@ -196,6 +196,7 @@ static int __fmc_slot_eeprom_add(struct fmc_slot *slot,
if
(
IS_ERR_OR_NULL
(
slot
->
nvmem
))
{
int
err
=
PTR_ERR
(
slot
->
nvmem
);
slot
->
nvmem
=
NULL
;
dev_err
(
&
slot
->
dev
,
"Can't find attached EEPROM (%d)
\n
"
,
err
);
return
err
;
}
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment