public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
From: <postfail@hushmail.com>
To: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sound@vger.kernel.org
Subject: [PATCH]:  ioremap function balancing in init/cleanup sound/oss/dmasound/dmacound_awacs.c
Date: Mon, 30 Jul 2007 05:39:07 +0000	[thread overview]
Message-ID: <20070730053908.62A05DA82E@mailserver8.hushmail.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Two cases where ioremap can be called in init function but will
never be cleaned up. patch is against 2.6.23-rc1.

Signed-off-by: Post Fail <postfail <at> hushmail.com>
- ---

- --- ./linux-2.6.22.clean/sound/oss/dmasound/dmasound_awacs.c	2007-
07-08 19:32:17.000000000 -0400
+++ ./linux-2.6.22/sound/oss/dmasound/dmasound_awacs.c	2007-07-29
23:05:30.000000000 -0400
@@ -3204,6 +3204,12 @@ static void __exit dmasound_awacs_cleanu
 	}
 	dmasound_deinit();

+        if (latch_base)
+                iounmap(latch_base);
+
+        if (macio_base)
+                iounmap(macio_base);
+
 	of_node_put(awacs_node);
 	of_node_put(i2s_node);
 }

-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5

wpwEAQECAAYFAkateM4ACgkQ5iui/yAtoVllnAP/b/B6G+rmMgu0DXi6UOmpkPhw2aWZ
o8E7PiKXmqIjuxVcGERch+dQ5Fv2HytDWE0Wx7/T2P/4Q8rIbPLSemgIQmk0ZHUfPydG
mQ+kKMmtFI5MwJ63QeHwuz4O+E+3CzIS3j+ZDb+nYrOXOZexWHMWRSm8zG+3WjBj8wCH
G1z+Wvg=WXVV
-----END PGP SIGNATURE-----

--
Click to make millions by owning your own franchise
http://tagline.hushmail.com/fc/Ioyw6h4eB8rVKR3JNDb0SMSvtN2iQdPzQyTMcCTVNURvG5OYLsamM9/



                 reply	other threads:[~2007-07-30  5:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070730053908.62A05DA82E@mailserver8.hushmail.com \
    --to=postfail@hushmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox