Ticket #1187 (closed defect: fixed)
chgstate gives incorrect output (fix)
| Reported by: | andrew.paulsen@… | Owned by: | willie_chen@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | kernel | Version: | 2007.2 |
| Severity: | normal | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
cat /sys/devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/chgstate
results in output like this:
<NULL> fast_enabled present <NULL>
because the array of strings is being indexed incorrectly.
Attachments
Change History
Changed 5 years ago by andrew.paulsen@…
- Attachment gta01-charge-state.patch added
Note: See
TracTickets for help on using
tickets.

Fixes array index error in charge state display (applies after 1182)