* [PATCH] resources: fix parameter name and kernel-doc
@ 2009-01-10 1:01 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2009-01-10 1:01 UTC (permalink / raw)
To: lkml; +Cc: akpm
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-10 1:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-10 1:01 [PATCH] resources: fix parameter name and kernel-doc Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®