-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dni_dps460] Fix read and write failure to ‘fan1_target’ attribute #183
[dni_dps460] Fix read and write failure to ‘fan1_target’ attribute #183
Conversation
Thank you for the patch.
Item 4 is very important in my opinion. |
have the same question, @ArunSaravananBalachandran, can you address? |
Updating the pmbus_data structure in ‘dni_dps460’ driver’s patch to the one used in latest kernel version, resolves the crash seen in both read sonic-net/sonic-buildimage#6140 and write #152 on the attribute and removing the
|
… driver. - Updated the pmbus_data structure in ‘dni_dps460’ driver’s patch to the one present in ‘pmbus_core.c’ in the latest kernel version used. - Reverted patch to use ‘kstrtol_from_user’ instead of ‘kstrtol’ for set operation in the driver. Signed-off-by: Arun Saravanan Balachandran <[email protected]>
5c861a2
to
a3890c6
Compare
Thank you for your replies. Your explanation in item 1. is very good, and is perfect to have in a commit message, so people do not have to read the merge/pull request discussion. Regarding 4., I know the driver is not in upstream Linux, but that is the goal, and nothing would prevent that. To avoid future porting work, it’d be great, if you sent the whole driver upstream, seeing that you also have access to the hardware. |
… driver. (sonic-net#183) - Updated the pmbus_data structure in ‘dni_dps460’ driver’s patch to the one present in ‘pmbus_core.c’ in the latest kernel version used. - Reverted patch to use ‘kstrtol_from_user’ instead of ‘kstrtol’ for set operation in the driver. Signed-off-by: Arun Saravanan Balachandran <[email protected]>
… driver. (#183) - Updated the pmbus_data structure in ‘dni_dps460’ driver’s patch to the one present in ‘pmbus_core.c’ in the latest kernel version used. - Reverted patch to use ‘kstrtol_from_user’ instead of ‘kstrtol’ for set operation in the driver. Signed-off-by: Arun Saravanan Balachandran <[email protected]>
To fix read and write failure to ‘fan1_target’ attribute of ‘dni_dps460’ driver.
pmbus_data
structure in ‘dni_dps460’ driver’s patch to the one present in ‘pmbus_core.c’ in the latest kernel version used.Logs: UT_logs.txt
Resolves sonic-net/sonic-buildimage#6140.