From: Per Forlin <per.forlin@linaro.org>
To: linaro-dev@lists.linaro.org,
Nicolas Pitre <nicolas.pitre@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org,
linux-doc@vger.kernel.org, Venkatraman S <svenkatr@ti.com>,
Linus Walleij <linus.walleij@linaro.org>,
Kyungmin Park <kyungmin.park@samsung.com>,
Arnd Bergmann <arnd@arndb.de>,
Sourav Poddar <sourav.poddar@ti.com>, Chris Ball <cjb@laptop.org>,
Akinobu Mita <akinobu.mita@gmail.com>,
J Freyensee <james_p_freyensee@linux.intel.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>, Per Forlin <per.forlin@linaro.org>
Subject: [PATCH v3 1/3] fault-inject: make fault injection available for modules
Date: Thu, 21 Jul 2011 00:01:59 +0200 [thread overview]
Message-ID: <1311199321-4618-2-git-send-email-per.forlin@linaro.org> (raw)
In-Reply-To: <1311199321-4618-1-git-send-email-per.forlin@linaro.org>
export symbols should_fail() and init_fault_attr_dentries() in order
to make modules use the fault injection functionality
Signed-off-by: Per Forlin <per.forlin@linaro.org>
---
lib/fault-inject.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/fault-inject.c b/lib/fault-inject.c
index 7e65af7..27783da 100644
--- a/lib/fault-inject.c
+++ b/lib/fault-inject.c
@@ -131,6 +131,7 @@ bool should_fail(struct fault_attr *attr, ssize_t size)
return true;
}
+EXPORT_SYMBOL_GPL(should_fail);
#ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
@@ -311,5 +312,6 @@ fail:
cleanup_fault_attr_dentries(attr);
return -ENOMEM;
}
+EXPORT_SYMBOL_GPL(init_fault_attr_dentries);
#endif /* CONFIG_FAULT_INJECTION_DEBUG_FS */
--
1.7.4.1
WARNING: multiple messages have this Message-ID (diff)
From: Per Forlin <per.forlin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
Nicolas Pitre
<nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-doc-u79uwXL29TY@public.gmane.org
Cc: Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>
Subject: [PATCH v3 1/3] fault-inject: make fault injection available for modules
Date: Thu, 21 Jul 2011 00:01:59 +0200 [thread overview]
Message-ID: <1311199321-4618-2-git-send-email-per.forlin@linaro.org> (raw)
In-Reply-To: <1311199321-4618-1-git-send-email-per.forlin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
export symbols should_fail() and init_fault_attr_dentries() in order
to make modules use the fault injection functionality
Signed-off-by: Per Forlin <per.forlin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
lib/fault-inject.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/fault-inject.c b/lib/fault-inject.c
index 7e65af7..27783da 100644
--- a/lib/fault-inject.c
+++ b/lib/fault-inject.c
@@ -131,6 +131,7 @@ bool should_fail(struct fault_attr *attr, ssize_t size)
return true;
}
+EXPORT_SYMBOL_GPL(should_fail);
#ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
@@ -311,5 +312,6 @@ fail:
cleanup_fault_attr_dentries(attr);
return -ENOMEM;
}
+EXPORT_SYMBOL_GPL(init_fault_attr_dentries);
#endif /* CONFIG_FAULT_INJECTION_DEBUG_FS */
--
1.7.4.1
WARNING: multiple messages have this Message-ID (diff)
From: per.forlin@linaro.org (Per Forlin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/3] fault-inject: make fault injection available for modules
Date: Thu, 21 Jul 2011 00:01:59 +0200 [thread overview]
Message-ID: <1311199321-4618-2-git-send-email-per.forlin@linaro.org> (raw)
In-Reply-To: <1311199321-4618-1-git-send-email-per.forlin@linaro.org>
export symbols should_fail() and init_fault_attr_dentries() in order
to make modules use the fault injection functionality
Signed-off-by: Per Forlin <per.forlin@linaro.org>
---
lib/fault-inject.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/fault-inject.c b/lib/fault-inject.c
index 7e65af7..27783da 100644
--- a/lib/fault-inject.c
+++ b/lib/fault-inject.c
@@ -131,6 +131,7 @@ bool should_fail(struct fault_attr *attr, ssize_t size)
return true;
}
+EXPORT_SYMBOL_GPL(should_fail);
#ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
@@ -311,5 +312,6 @@ fail:
cleanup_fault_attr_dentries(attr);
return -ENOMEM;
}
+EXPORT_SYMBOL_GPL(init_fault_attr_dentries);
#endif /* CONFIG_FAULT_INJECTION_DEBUG_FS */
--
1.7.4.1
next prev parent reply other threads:[~2011-07-20 22:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 22:01 [PATCH v3 0/3] Make fault injection available for MMC IO Per Forlin
2011-07-20 22:01 ` Per Forlin
2011-07-20 22:01 ` Per Forlin
2011-07-20 22:01 ` Per Forlin [this message]
2011-07-20 22:01 ` [PATCH v3 1/3] fault-inject: make fault injection available for modules Per Forlin
2011-07-20 22:01 ` Per Forlin
2011-07-20 22:02 ` [PATCH v3 2/3] mmc: core: add random fault injection Per Forlin
2011-07-20 22:02 ` Per Forlin
2011-07-20 22:02 ` Per Forlin
2011-07-25 15:58 ` Akinobu Mita
2011-07-25 15:58 ` Akinobu Mita
2011-07-25 19:19 ` Per Forlin
2011-07-25 19:19 ` Per Forlin
2011-07-25 21:20 ` Per Forlin
2011-07-25 21:20 ` Per Forlin
2011-07-26 1:41 ` Akinobu Mita
2011-07-26 1:41 ` Akinobu Mita
2011-07-26 20:01 ` Per Forlin
2011-07-26 20:01 ` Per Forlin
2011-07-26 20:08 ` Per Forlin
2011-07-26 20:08 ` Per Forlin
2011-07-20 22:02 ` [PATCH v3 3/3] fault injection: add documentation on MMC IO " Per Forlin
2011-07-20 22:02 ` Per Forlin
2011-07-20 22:02 ` Per Forlin
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=1311199321-4618-2-git-send-email-per.forlin@linaro.org \
--to=per.forlin@linaro.org \
--cc=akinobu.mita@gmail.com \
--cc=arnd@arndb.de \
--cc=cjb@laptop.org \
--cc=james_p_freyensee@linux.intel.com \
--cc=kyungmin.park@samsung.com \
--cc=linaro-dev@lists.linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=nicolas.pitre@linaro.org \
--cc=rdunlap@xenotime.net \
--cc=sourav.poddar@ti.com \
--cc=svenkatr@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.