public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zong Li <zong@andestech.com>
To: <green.hu@gmail.com>, <deanbo422@gmail.com>,
	<linux-kernel@vger.kernel.org>
Cc: <zongbox@gmail.com>, Zong Li <zong@andestech.com>
Subject: [PATCH 0/3] Fix get_user and put_user pointer issue
Date: Mon, 13 Aug 2018 17:26:50 +0800	[thread overview]
Message-ID: <cover.1534151350.git.zong@andestech.com> (raw)

These patches fix the issue of expand macro with pointer argument,
clean up the coding style and refactor the macro by extracting the
checking and getting pointer to another macro definition.


Zong Li (3):
  nds32: Fix get_user/put_user macro expand pointer problem
  nds32: Clean up the coding style
  nds32: Extract the checking and getting pointer to a macro

 arch/nds32/include/asm/uaccess.h | 229 ++++++++++++++++++++-------------------
 1 file changed, 119 insertions(+), 110 deletions(-)

-- 
2.7.4


             reply	other threads:[~2018-08-13  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-13  9:26 Zong Li [this message]
2018-08-13  9:26 ` [PATCH 1/3] nds32: Fix get_user/put_user macro expand pointer problem Zong Li
2018-08-13  9:26 ` [PATCH 2/3] nds32: Clean up the coding style Zong Li
2018-08-13  9:26 ` [PATCH 3/3] nds32: Extract the checking and getting pointer to a macro Zong Li
2018-08-21  7:03 ` [PATCH 0/3] Fix get_user and put_user pointer issue Greentime Hu

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=cover.1534151350.git.zong@andestech.com \
    --to=zong@andestech.com \
    --cc=deanbo422@gmail.com \
    --cc=green.hu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zongbox@gmail.com \
    /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