diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2015-05-14 01:01:57 +0000 |
---|---|---|
committer | Johannes Weiner <hannes@cmpxchg.org> | 2015-05-14 01:01:57 +0000 |
commit | 89dd51a7d4cfe99fb2f002284ac2bdc752b34f0d (patch) | |
tree | 6eb9c118436282b4112c182c33bf850589db11aa | |
parent | 3dbe64652db5d820a7ad880f2fcaffd4a176926e (diff) | |
download | mm-next-89dd51a7d4cfe99fb2f002284ac2bdc752b34f0d.tar.gz |
bitmap-remove-explicit-newline-handling-using-scnprintf-format-string-fix
tweak comment
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | lib/bitmap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c index 77bba6fbc0a159..a578a018919977 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -462,8 +462,10 @@ EXPORT_SYMBOL(bitmap_parse_user); * Output format is a comma-separated list of decimal numbers and * ranges if list is specified or hex digits grouped into comma-separated * sets of 8 digits/set. Returns the number of characters written to buf. - * It is assumed that the buffer passed is atleast PAGE_SIZE and easily - * accommodate nmaskbits. + * + * It is assumed that @buf is a pointer into a PAGE_SIZE area and that + * sufficient storage remains at @buf to accommodate the + * bitmap_print_to_pagebuf() output. */ int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits) |