projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
5fb5255
)
HID: playstation: fix unused variable in ps_battery_get_property.
author
Roderick Colenbrander
<roderick.colenbrander@sony.com>
Fri, 12 Feb 2021 06:41:00 +0000
(22:41 -0800)
committer
Benjamin Tissoires
<benjamin.tissoires@redhat.com>
Wed, 17 Feb 2021 17:34:55 +0000
(18:34 +0100)
The ret variable in ps_battery_get_property is set in an error path,
but never actually returned. Change the function to return ret.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
No differences found