public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] lib: Include appropriate header file in lib/iommu-helper.c
@ 2014-02-25  7:40 Rashika Kheria
  2014-02-25  7:41 ` [PATCH 2/8] lib: Mark function as static in lib/lru_cache.c Rashika Kheria
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Rashika Kheria @ 2014-02-25  7:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: josh, rashika.kheria

Include appropriate header file include/linux/iommu-helper.h in
lib/iommu-helper.c because it has prototype declaration of function
defined in lib/iommu-helper.c.

This eliminates the following warning in lib/iommu-helper.c:
lib/iommu-helper.c:9:5: warning: no previous prototype for ‘iommu_is_span_boundary’ [-Wmissing-prototypes]
lib/iommu-helper.c:19:15: warning: no previous prototype for ‘iommu_area_alloc’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
---
 lib/iommu-helper.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/iommu-helper.c b/lib/iommu-helper.c
index c27e269..41d35fb 100644
--- a/lib/iommu-helper.c
+++ b/lib/iommu-helper.c
@@ -5,6 +5,7 @@
 #include <linux/export.h>
 #include <linux/bitmap.h>
 #include <linux/bug.h>
+#include <linux/iommu-helper.h>
 
 int iommu_is_span_boundary(unsigned int index, unsigned int nr,
 			   unsigned long shift,
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-02-28 13:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25  7:40 [PATCH 1/8] lib: Include appropriate header file in lib/iommu-helper.c Rashika Kheria
2014-02-25  7:41 ` [PATCH 2/8] lib: Mark function as static in lib/lru_cache.c Rashika Kheria
2014-02-25  7:44 ` [PATCH 3/8] lib: Move prototype declaration to header file include/linux/swiotlb.h Rashika Kheria
2014-02-25 20:45   ` Konrad Rzeszutek Wilk
2014-02-25  7:46 ` [PATCH 4/8] lib: Add prototype declarations in lib/clz_ctz.c Rashika Kheria
2014-02-25  7:49 ` [PATCH 5/8] lib: Include appropriate header file in lib/decompress_inflate.c Rashika Kheria
2014-02-25  7:51 ` [PATCH 6/8] lib: Include appropriate header file in lib/libcrc32c.c Rashika Kheria
2014-02-25  7:51 ` [PATCH 7/8] lib: Include appropriate header file in lib/decompress_unxz.c Rashika Kheria
2014-02-25  7:53 ` [PATCH 8/8] lib: Mark function as static in lib/decompress_unlzo.c Rashika Kheria
2014-02-27  1:44 ` Re : [PATCH 4/8] lib: Add prototype declarations in lib/clz_ctz.c 민찬호

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox