[PATCH 0/2] staging: greybus: loopback: Fix two oops paths in gb_loopback

Bryan O'Donoghue pure.logic at nexus-software.ie
Sun Jan 8 15:27:17 UTC 2017


Alexandre reported a bug in the loopback rmmod path subsequent to a failure
in gb_pm_runtime_get_sync - something that can happen when you are
developing device-side firmware easily. Doing some cursory rmmod testing on
gb_loopback then showed a second (and long standing) error pertaining to
removal of gb_dev.root.

This series fixes both issues.

Bryan O'Donoghue (2):
  staging: greybus: loopback: fix gb_pm_runtime_get_sync error handling
  staging: greybus: loopback: fix oops on rmmod gb_loopback

 drivers/staging/greybus/loopback.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
2.7.4



More information about the devel mailing list