diff options
| author | Ondrej Zary <[email protected]> | 2016-11-11 10:00:20 +1100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-11-12 10:42:44 -0500 |
| commit | 7b93ca43b7e21fbe6fb1a6f4ecce4a2f70f424a0 (patch) | |
| tree | ada0f4fb1212e536b3202bfdd76b1cc9b3bd917f /tools/perf/scripts/python | |
| parent | ee32c9098f2eff12c0e020aac2acade8250c80e4 (diff) | |
scsi: g_NCR5380: Fix release_region in error handling
When a SW-configurable card is specified but not found, the driver
releases wrong region, causing the following message in kernel log:
Trying to free nonexistent resource <0000000000000000-000000000000000f>
Fix it by assigning base earlier.
Signed-off-by: Ondrej Zary <[email protected]>
Fixes: a8cfbcaec0c1 ("scsi: g_NCR5380: Stop using scsi_module.c")
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions