summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2015-10-09 14:26:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 20:28:40 +0300
commit274ec5ee5478f1757ba083e366d9490dfaa6bd2f (patch)
tree43175d6993165fdda1ed665835b7f6990704962d /include/linux/stacktrace.h
parent322146d5d485cddb93761bd2593fbc932399b0a1 (diff)
downloadlinux-274ec5ee5478f1757ba083e366d9490dfaa6bd2f.tar.xz
staging: comedi: rename comedi_buf_write_n_available
Rename the local function `comedi_buf_write_n_available()` to `comedi_buf_write_n_unalloc()`. It is the amount of unallocated space available in the buffer that is available to be allocated for writing and does not include the space that has already been allocated for writing. This is unlike the exported function `comedi_buf_read_n_available()` which includes the space available to be allocated for reading plus the space already allocated for reading. The new name breaks the unintentional naming symmetry (and also clears the way for the old name to be reused for a new function). Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions