public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Eric Biggers <ebiggers@kernel.org>
Cc: Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
	linux-pm@vger.kernel.org
Subject: Re: [PATCH] docs: power: fix docs for ioctls that return loff_t via pointer
Date: Sat, 14 Mar 2020 11:53:58 +0100	[thread overview]
Message-ID: <3833355.Hds1XrS48b@kreacher> (raw)
In-Reply-To: <20200308032216.998068-1-ebiggers@kernel.org>

On Sunday, March 8, 2020 4:22:16 AM CET Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 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>
> ---
>  Documentation/power/userland-swsusp.rst | 8 +++++---
>  1 file 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
> 

Applied as 5.7 material, thanks!





      reply	other threads:[~2020-03-15  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-08  3:22 [PATCH] docs: power: fix docs for ioctls that return loff_t via pointer Eric Biggers
2020-03-14 10:53 ` Rafael J. Wysocki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3833355.Hds1XrS48b@kreacher \
    --to=rjw@rjwysocki.net \
    --cc=ebiggers@kernel.org \
    --cc=len.brown@intel.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox