aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf
diff options
context:
space:
mode:
authorIkjoon Jang <[email protected]>2020-09-03 11:04:40 +0800
committerSebastian Reichel <[email protected]>2020-10-06 11:46:53 +0200
commit8ae237ec0af9f754c1da00913646f3c46a99a1cb (patch)
treea8e4ce2beaa7a0f1246c32af1b26fa539d7a3bfe /kernel/bpf
parent5069185fc18e810715a91d80fcd075e03add600c (diff)
power: supply: sbs-battery: keep error code when get_property() fails
Commit 395a7251dc2b (power: supply: sbs-battery: don't assume i2c errors as battery disconnect) overwrites the original error code returned from internal functions. On such a sporadic i2c error, a user will get a wrong value without errors. Fixes: 395a7251dc2b (power: supply: sbs-battery: don't assume i2c errors as battery disconnect) Signed-off-by: Ikjoon Jang <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions