Skip to contentSkip to conversation

sound/pci ioremap/iounmap balancing

PATCH Scott Thompson 1 participant 1 message Aug 1, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · On Wed, 01 Aug 2007 06:38:16 -0400 Takashi Iwai <[email protected]> wrote:

This would be rater a lacking check of returned errors.

The other changes look incorrect. All these drivers use card->private_free callback to release the resources even for the error exit. Thus, you don't need iounmap in each place.

thanks,

Takashi

Missed the callback on the audit, will repost this patch (sound/pci) with just the unchecked returns...

---------------------------------------
Scott Thompson / [email protected]
---------------------------------------

--
Click for free info on online masters degrees and make up to $150K/ year
http://tagline.hushmail.com/fc/Ioyw6h4eS92xMNMCt3tx2zrkeCY7ERKxlEfaEq8mHdh5eNBoZjv0z8/