diff options
author | Daniel Drake <[email protected]> | 2009-12-17 15:27:17 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-12-17 15:45:31 -0800 |
commit | 3d10a1ba0d37c8f5fd5afcdda00613fbb8a90bf5 (patch) | |
tree | 2ece821a975a989e3932a9a71ed4353b1edb32f7 /lib/debugobjects.c | |
parent | f6151dfea21496d43dbaba32cfcd9c9f404769bc (diff) |
sdio: fix reference counting in sdio_remove_func()
sdio_remove_func() needs to be more careful about reference counting. It
can be called in error paths where sdio_add_func() has never been called
e.g. mmc_attach_sdio error path --> mmc_sdio_remove --> sdio_remove_func
Signed-off-by: Daniel Drake <[email protected]>
Reviewed-by: Matt Fleming <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions