]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
lib/bitmap.c: fix documentation for scnprintf() functions
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 29 May 2012 22:07:32 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:32 +0000 (16:22 -0700)
commit05a6c8a9226599f921bd0b6e439dbc04df96a6fc
tree9d95bd7811837139f600a7aa5044e12bf26f6d39
parent68aecfb97978fe6730615f92f53c11149e929052
lib/bitmap.c: fix documentation for scnprintf() functions

The code comments for bscnl_emit() and bitmap_scnlistprintf() are
describing snprintf() return semantics, but these functions use
scnprintf() return semantics.  Fix that, and document the
bitmap_scnprintf() return value as well.

Cc: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/bitmap.c