No description
  • C 96.9%
  • Assembly 0.9%
  • Rust 0.6%
  • Shell 0.6%
  • Python 0.5%
  • Other 0.3%
Find a file
Perry Hung e619e8505b greybus: battery: fix panic on operation error
If an operation times out or otherwise returns an error, val->intval
should not be set and an error-code should be returned.

Fixes a panic on unload while receiving -ENOTCONN.

Signed-off-by: Perry Hung <perry@leaflabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
History 2015-07-24 16:39:58 -07:00
drivers/staging/greybus greybus: battery: fix panic on operation error 2015-07-24 16:39:58 -07:00