aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-03-07 19:22:16 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-03-14 11:51:32 +0100
commit51995ff51231f1502987e18ba6820a55a422b684 (patch)
tree20c42266598f16cde2ee5e255122f6d250b0bc8f /Documentation/power
parentPM: sleep: wakeup: Use built-in RCU list checking (diff)
downloadlinux-dev-51995ff51231f1502987e18ba6820a55a422b684.tar.xz
linux-dev-51995ff51231f1502987e18ba6820a55a422b684.zip
PM: hibernate: fix docs for ioctls that return loff_t via pointer
Correctly document how the SNAPSHOT_GET_IMAGE_SIZE and SNAPSHOT_AVAIL_SWAP_SIZE ioctls return their result. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/userland-swsusp.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/power/userland-swsusp.rst b/Documentation/power/userland-swsusp.rst
index a0fa51bb1a4d..1cf62d80a9ca 100644
--- a/Documentation/power/userland-swsusp.rst
+++ b/Documentation/power/userland-swsusp.rst
@@ -69,11 +69,13 @@ SNAPSHOT_PREF_IMAGE_SIZE
SNAPSHOT_GET_IMAGE_SIZE
return the actual size of the hibernation image
+ (the last argument should be a pointer to a loff_t variable that
+ will contain the result if the call is successful)
SNAPSHOT_AVAIL_SWAP_SIZE
- return the amount of available swap in bytes (the
- last argument should be a pointer to an unsigned int variable that will
- contain the result if the call is successful).
+ return the amount of available swap in bytes
+ (the last argument should be a pointer to a loff_t variable that
+ will contain the result if the call is successful)
SNAPSHOT_ALLOC_SWAP_PAGE
allocate a swap page from the resume partition