+ char-stallion-mark-functions-as-init.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Char: stallion, mark functions as init

has been added to the -mm tree.  Its filename is

     char-stallion-mark-functions-as-init.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Char: stallion, mark functions as init
From: Jiri Slaby <jirislaby@xxxxxxxxx>

Use __init macro for functions, that may be freed after initialization.

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/stallion.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff -puN drivers/char/stallion.c~char-stallion-mark-functions-as-init drivers/char/stallion.c
--- a/drivers/char/stallion.c~char-stallion-mark-functions-as-init
+++ a/drivers/char/stallion.c
@@ -700,7 +700,7 @@ static struct class *stallion_class;
  *	Check for any arguments passed in on the module load command line.
  */
 
-static void stl_argbrds(void)
+static void __init stl_argbrds(void)
 {
 	struct stlconf	conf;
 	struct stlbrd	*brdp;
@@ -767,7 +767,7 @@ static unsigned long stl_atol(char *str)
  *	Parse the supplied argument string, into the board conf struct.
  */
 
-static int stl_parsebrd(struct stlconf *confp, char **argp)
+static int __init stl_parsebrd(struct stlconf *confp, char **argp)
 {
 	char	*sp;
 	int	i;
@@ -2016,7 +2016,7 @@ static int __init stl_initports(struct s
  *	Try to find and initialize an EasyIO board.
  */
 
-static int stl_initeio(struct stlbrd *brdp)
+static int __init stl_initeio(struct stlbrd *brdp)
 {
 	struct stlpanel	*panelp;
 	unsigned int	status;
@@ -2157,7 +2157,7 @@ static int stl_initeio(struct stlbrd *br
  *	dealing with all types of ECH board.
  */
 
-static int stl_initech(struct stlbrd *brdp)
+static int __init stl_initech(struct stlbrd *brdp)
 {
 	struct stlpanel	*panelp;
 	unsigned int	status, nxtid, ioaddr, conflict;
@@ -2416,7 +2416,7 @@ static int __init stl_brdinit(struct stl
  *	Find the next available board number that is free.
  */
 
-static int stl_getbrdnr(void)
+static int __init stl_getbrdnr(void)
 {
 	int	i;
 
@@ -2440,7 +2440,7 @@ static int stl_getbrdnr(void)
  *	configuration space.
  */
 
-static int stl_initpcibrd(int brdtype, struct pci_dev *devp)
+static int __init stl_initpcibrd(int brdtype, struct pci_dev *devp)
 {
 	struct stlbrd	*brdp;
 
@@ -2502,7 +2502,7 @@ static int stl_initpcibrd(int brdtype, s
  */
 
 
-static int stl_findpcibrds(void)
+static int __init stl_findpcibrds(void)
 {
 	struct pci_dev	*dev = NULL;
 	int		i, rc;
@@ -2538,7 +2538,7 @@ static int stl_findpcibrds(void)
  *	since the initial search and setup is too different.
  */
 
-static int stl_initbrds(void)
+static int __init stl_initbrds(void)
 {
 	struct stlbrd	*brdp;
 	struct stlconf	*confp;
_

Patches currently in -mm which might be from jirislaby@xxxxxxxxx are

pci-mxser-pci-refcounts.patch
mxser-make-an-experimental-clone.patch
char-mxser_new-correct-include-file.patch
char-mxser_new-upgrade-to-191.patch
char-mxser_new-rework-to-allow-dynamic-structs.patch
char-mxser_new-use-__devinit-macros.patch
char-mxser_new-pci_request_region-for-pci-regions.patch
char-mxser_new-check-request_region-retvals.patch
char-mxser_new-kill-unneeded-memsets.patch
char-mxser_new-revert-spin_lock-changes.patch
char-mxser_new-remove-request-for-testers-line.patch
char-mxser_new-debug-printk-dependent-on-debug.patch
char-mxser_new-alter-license-terms.patch
char-mxser_new-code-upside-down.patch
char-mxser_new-cmspar-is-defined.patch
char-remove-unneded-termbits-redefinitions-mxser_new.patch
char-mxser_new-eliminate-tty-ldisc-deref.patch
char-mxser_new-testbit-for-bit-testing.patch
char-mxser_new-correct-fail-paths.patch
char-mxser_new-dont-check-tty_unregister-retval.patch
char-mxser_new-compress-isa-finding.patch
char-mxser_new-register-tty-devices-on-the-fly.patch
char-mxser_new-compact-structures-round2.patch
char-mxser_new-reverse-if-else-paths-patch.patch
char-mxser_new-comments-cleanup.patch
char-mxser_new-correct-intr-handler-proto.patch
char-mxser_new-delete-ttys-and-termios.patch
char-mxser_new-pci-probing.patch
char-mxser_new-clean-macros.patch
maintainers-add-me-to-isicom-mxser.patch
char-stallion-use-pr_debug-macro.patch
char-stallion-remove-unneeded-casts.patch
char-stallion-kill-typedefs.patch
char-stallion-move-init-deinit.patch
char-stallion-uninline-functions.patch
char-stallion-mark-functions-as-init.patch
char-stallion-remove-many-prototypes.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux