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
a16ab11e
Commit
a16ab11e
authored
3 years ago
by
Federico Vaga
Browse files
Options
Downloads
Plain Diff
Merge branch 'release/v1.1.3'
parents
676deab9
ce7e233f
No related merge requests found
Pipeline
#1955
failed with stages
in 0 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.rst
+7
-1
7 additions, 1 deletion
CHANGELOG.rst
drivers/fmc/fmc-eeprom.c
+5
-0
5 additions, 0 deletions
drivers/fmc/fmc-eeprom.c
with
12 additions
and
1 deletion
CHANGELOG.rst
+
7
−
1
View file @
a16ab11e
...
@@ -7,7 +7,13 @@
...
@@ -7,7 +7,13 @@
Changelog
Changelog
=========
=========
1.1.1 - 2021-07-06
1.1.3 - 2021-07-29
==================
Fixed
-----
- sw: improve compatibility with newer ( >3.10) Linux kernel versions
1.1.2 - 2021-07-06
==================
==================
Changed
Changed
...
...
This diff is collapsed.
Click to expand it.
drivers/fmc/fmc-eeprom.c
+
5
−
0
View file @
a16ab11e
...
@@ -113,8 +113,13 @@ static int __fmc_slot_eeprom_add(struct fmc_slot *slot,
...
@@ -113,8 +113,13 @@ static int __fmc_slot_eeprom_add(struct fmc_slot *slot,
}
}
info_l
.
addr
=
fmc_slot_i2c_address
(
info_l
.
addr
,
slot
->
ga
);
info_l
.
addr
=
fmc_slot_i2c_address
(
info_l
.
addr
,
slot
->
ga
);
#if KERNEL_VERSION(5, 8, 0) <= LINUX_VERSION_CODE
slot
->
eeprom
=
i2c_new_client_device
(
slot
->
adapter
,
&
info_l
);
if
(
IS_ERR
(
slot
->
eeprom
))
#else
slot
->
eeprom
=
i2c_new_device
(
slot
->
adapter
,
&
info_l
);
slot
->
eeprom
=
i2c_new_device
(
slot
->
adapter
,
&
info_l
);
if
(
!
slot
->
eeprom
)
if
(
!
slot
->
eeprom
)
#endif
return
-
ENODEV
;
return
-
ENODEV
;
err
=
sysfs_create_link
(
&
slot
->
dev
.
kobj
,
&
slot
->
eeprom
->
dev
.
kobj
,
err
=
sysfs_create_link
(
&
slot
->
dev
.
kobj
,
&
slot
->
eeprom
->
dev
.
kobj
,
...
...
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