[PATCH] sata_nv: wrong failure path and leak
- wrong branching: the driver does not want to iounmap() an address that it
has just failed to set;
- return a sensible error status code instead of a success code;
- leak plugged: host was never freed if a late error heppened.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Showing
Please register or sign in to comment