[PATCH]: ioremap function balancing in init/cleanup sound/oss/dmasound/dmacound_awacs.c

2007-07-29 Thread postfail
-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  hushmail.com>
- ---

- --- ./linux-2.6.22.clean/sound/oss/dmasound/dmasound_awacs.c  2007-
07-08 19:32:17.0 -0400
+++ ./linux-2.6.22/sound/oss/dmasound/dmasound_awacs.c  2007-07-29
23:05:30.0 -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 here for a free directory of employee development and training solutions
http://tagline.hushmail.com/fc/Ioyw6h4dDApAP0vm8MwFLWUmr7tHObB8rYAXa7zXQmEHPyHNeojRUQ/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]: ioremap function balancing in init/cleanup sound/oss/dmasound/dmacound_awacs.c

2007-07-29 Thread postfail
-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.0 -0400
+++ ./linux-2.6.22/sound/oss/dmasound/dmasound_awacs.c  2007-07-29
23:05:30.0 -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 here for a free directory of employee development and training solutions
http://tagline.hushmail.com/fc/Ioyw6h4dDApAP0vm8MwFLWUmr7tHObB8rYAXa7zXQmEHPyHNeojRUQ/


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/