Skip to content

Commit

Permalink
resources: fix parameter name and kernel-doc
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Jan 16, 2009
1 parent 3eabdb7 commit 6ae301e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/ioport.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ static inline unsigned long resource_type(struct resource *res)

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))
Expand Down
1 change: 1 addition & 0 deletions kernel/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ resource_size_t resource_alignment(struct resource *res)
* @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,
Expand Down

0 comments on commit 6ae301e

Please sign in to comment.