All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>, Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH for-next] x86/mm: Correctly indent the pin_page block of do_mmuext_op()
Date: Fri, 05 May 2017 10:11:06 -0600	[thread overview]
Message-ID: <590CC03A0200007800157588@prv-mh.provo.novell.com> (raw)
In-Reply-To: <1493999502-17461-1-git-send-email-andrew.cooper3@citrix.com>

>>> On 05.05.17 at 17:51, <andrew.cooper3@citrix.com> wrote:
> The pin_page block is missing one level of indentation, which makes the
> MMUEXT_UNPIN_TABLE case label appear to be outside of the switch statement.
> 
> While making this adjustment, delete one other piece of trailing whitespace.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

May I suggest to do this with much less code churn? If you make
the "page" local variable switch-wide (which the unpin code then
can also benefit from, as could the clear-page one) you won't
need to re-indent anything.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-05-05 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05 15:51 [PATCH for-next] x86/mm: Correctly indent the pin_page block of do_mmuext_op() Andrew Cooper
2017-05-05 16:11 ` Jan Beulich [this message]
2017-05-05 16:32   ` [PATCH v2 for-next] x86/mm: Fix the odd indentation of " Andrew Cooper
2017-05-05 16:35     ` Wei Liu
2017-05-08  7:20     ` Jan Beulich

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=590CC03A0200007800157588@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.