linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard.weinberger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Joe Richey <joerichey94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-fsdevel
	<linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-fscrypt-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"open list:ABI/API"
	<linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Jaegeuk Kim <jaegeuk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Theodore Ts'o <tytso-3s7WtUTddSA@public.gmane.org>,
	Michael Halcrow
	<mhalcrow-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Joe Richey <joerichey-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] fscrypt: Remove __packed from fscrypt_policy
Date: Thu, 6 Apr 2017 21:17:09 +0200	[thread overview]
Message-ID: <CAFLxGvwm_ebqB0J0epCiasE0HzQjCgfmsf9fpAsYbBrpFTAPmg@mail.gmail.com> (raw)
In-Reply-To: <20170404224040.63624-1-joerichey94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Wed, Apr 5, 2017 at 12:40 AM, Joe Richey <joerichey94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> From: Joe Richey <joerichey-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
>
> This commit removes __packed from fscrypt_policy as it does not contain
> any implicit padding and does not refer to an on-disk structure. Even
> though this is a change to a UAPI file, no users will be broken as the
> structure doesn't change.
>
> Change-Id: I6075696cee284c3bd4aefa3e9e2dae735602c583

Please remove this internal id.

> Signed-off-by: Joe Richey <joerichey-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
> ---
>  include/uapi/linux/fs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h
> index 048a85e9f017..f6e1c54ac5e2 100644
> --- a/include/uapi/linux/fs.h
> +++ b/include/uapi/linux/fs.h
> @@ -279,7 +279,7 @@ struct fscrypt_policy {
>         __u8 filenames_encryption_mode;
>         __u8 flags;
>         __u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE];
> -} __packed;
> +};

Reviewed-by: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>

-- 
Thanks,
//richard

      parent reply	other threads:[~2017-04-06 19:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 22:40 [PATCH] fscrypt: Remove __packed from fscrypt_policy Joe Richey
     [not found] ` <20170404224040.63624-1-joerichey94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-06 19:17   ` Richard Weinberger [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=CAFLxGvwm_ebqB0J0epCiasE0HzQjCgfmsf9fpAsYbBrpFTAPmg@mail.gmail.com \
    --to=richard.weinberger-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=jaegeuk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=joerichey-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=joerichey94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-fscrypt-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mhalcrow-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=tytso-3s7WtUTddSA@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).