[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20090109170149.797d6382.randy.dunlap@oracle.com>
Date: Fri, 9 Jan 2009 17:01:49 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>
Subject: [PATCH] resources: fix parameter name and kernel-doc
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix __request_region() parameter kernel-doc notation and
parameter name:
Warning(linux-2.6.28-git10//kernel/resource.c:627): No description found for parameter 'flags'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
include/linux/ioport.h | 3 ++-
kernel/resource.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
--- linux-next-20090109.orig/include/linux/ioport.h
+++ linux-next-20090109/include/linux/ioport.h
@@ -143,7 +143,8 @@ static inline unsigned long resource_typ
extern struct resource * __request_region(struct resource *,
resource_size_t start,
- resource_size_t n, const char *name, int relaxed);
+ resource_size_t n,
+ const char *name, int flags);
/* Compatibility cruft */
#define release_region(start,n) __release_region(&ioport_resource, (start), (n))
--- linux-next-20090109.orig/kernel/resource.c
+++ linux-next-20090109/kernel/resource.c
@@ -620,6 +620,7 @@ resource_size_t resource_alignment(struc
* @start: resource start address
* @n: resource region size
* @name: reserving caller's ID string
+ * @flags: IO resource flags
*/
struct resource * __request_region(struct resource *parent,
resource_size_t start, resource_size_t n,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists