Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1192251 > unrolled thread

[PATCH] fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region

Started byPartha Pratim Mukherjee <ppm.floss@gmail.com>
First post2015-07-25 04:50 +0200
Last post2015-07-25 04:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region Partha Pratim Mukherjee <ppm.floss@gmail.com> - 2015-07-25 04:50 +0200

#1192251 — [PATCH] fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region

FromPartha Pratim Mukherjee <ppm.floss@gmail.com>
Date2015-07-25 04:50 +0200
Subject[PATCH] fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region
Message-ID<pPXHb-8h4-17@gated-at.bofh.it>
The current documentation for unregister_chrdev_region says that it
return a range of device numbers which is incorrect. Instead it
unregister a range of device numbers. Fix the documentation to make this
clear.

Signed-off-by: Partha Pratim Mukherjee <ppm.floss@gmail.com>
---
 fs/char_dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/char_dev.c b/fs/char_dev.c
index ea06a3d..24b1425 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -274,7 +274,7 @@ out2:
 }
 
 /**
- * unregister_chrdev_region() - return a range of device numbers
+ * unregister_chrdev_region() - unregister a range of device numbers
  * @from: the first in the range of numbers to unregister
  * @count: the number of device numbers to unregister
  *
-- 
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web