dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [PATCH] dm: all kstrto* consumers should include kernel.h
@ 2012-08-03 17:06 Mike Snitzer
  0 siblings, 0 replies; only message in thread
From: Mike Snitzer @ 2012-08-03 17:06 UTC (permalink / raw)
  To: dm-devel

Commit 1a66a08ae8 ("dm: replace simple_strtoul") should've included
<linux/kernel.h>.  Likewise for commit 991d9fa0 ("dm: add thin
provisioning target").

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
---
 drivers/md/dm-exception-store.c |    1 +
 drivers/md/dm-stripe.c          |    1 +
 drivers/md/dm-thin.c            |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c
index ebaa4f8..4ddcd8a 100644
--- a/drivers/md/dm-exception-store.c
+++ b/drivers/md/dm-exception-store.c
@@ -11,6 +11,7 @@
 #include <linux/mm.h>
 #include <linux/pagemap.h>
 #include <linux/vmalloc.h>
+#include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/slab.h>
 
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c
index a087bf2..0a70334 100644
--- a/drivers/md/dm-stripe.c
+++ b/drivers/md/dm-stripe.c
@@ -7,6 +7,7 @@
 #include <linux/device-mapper.h>
 
 #include <linux/module.h>
+#include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/blkdev.h>
 #include <linux/bio.h>
diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c
index af1fc3b..c961efd 100644
--- a/drivers/md/dm-thin.c
+++ b/drivers/md/dm-thin.c
@@ -7,6 +7,7 @@
 #include "dm-thin-metadata.h"
 #include "dm.h"
 
+#include <linux/kernel.h>
 #include <linux/device-mapper.h>
 #include <linux/dm-io.h>
 #include <linux/dm-kcopyd.h>
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-03 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 17:06 [PATCH] dm: all kstrto* consumers should include kernel.h Mike Snitzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).