Bug 203285
Summary: | AMI Get Hostname command via ssif is throwing unspecified error. | ||
---|---|---|---|
Product: | Drivers | Reporter: | Balaji R G (balajirg) |
Component: | Other | Assignee: | drivers_other |
Status: | NEW --- | ||
Severity: | normal | CC: | arnd, balajirg, minyard |
Priority: | P1 | ||
Hardware: | ARM | ||
OS: | Linux | ||
Kernel Version: | 5.1-rc4 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Balaji R G
2019-04-12 07:23:45 UTC
I noticed this bug in mainline kernel v5.1-rc4. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/char/ipmi/ipmi_ssif.c?h=v5.1-rc4 } else if (blocknum != ssif_info->multi_pos) { /* * Out of sequence block, just abort. Block * numbers start at zero for the second block, * but multi_pos starts at one, so the +1. */ result = -EIO; } Here blocknum + 1, should be added. This would be an IPMI bug not I2C bug, moving to the right component. Hi all, The above mentioned bug is fixed in the kernel upstream at "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55be8658c7e2feb11a5b5b33ee031791dbd23a69". So, I think we can close this issue. Thanks, Balaji R G |