All of
 help / color / mirror / Atom feed
From: Zhiyuan Dai <>
	Zhiyuan Dai <>
Subject: [PATCH] mm/frontswap: minor coding style tweaks
Date: Mon, 22 Feb 2021 10:57:48 +0800	[thread overview]
Message-ID: <> (raw)

This patch move brace position to fix coding style issues,
improve code reading.

Signed-off-by: Zhiyuan Dai <>
 mm/frontswap.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/mm/frontswap.c b/mm/frontswap.c
index 2183a56..ea6a3b4 100644
--- a/mm/frontswap.c
+++ b/mm/frontswap.c
@@ -60,16 +60,20 @@
 static u64 frontswap_failed_stores;
 static u64 frontswap_invalidates;
-static inline void inc_frontswap_loads(void) {
+static inline void inc_frontswap_loads(void) 
-static inline void inc_frontswap_succ_stores(void) {
+static inline void inc_frontswap_succ_stores(void) 
-static inline void inc_frontswap_failed_stores(void) {
+static inline void inc_frontswap_failed_stores(void) 
-static inline void inc_frontswap_invalidates(void) {
+static inline void inc_frontswap_invalidates(void) 

                 reply	other threads:[~2021-02-22  3:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH] mm/frontswap: minor coding style tweaks' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.