Skip to content

Fix get_user and put_user pointer issue

Zong Li lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nds32: Fix get_user/put_user macro expand pointer problemarch/nds32/include/asm/uaccess.h+14 -120 replies
2/3nds32: Clean up the coding stylearch/nds32/include/asm/uaccess.h+103 -980 replies
3/3nds32: Extract the checking and getting pointer to a macroarch/nds32/include/asm/uaccess.h+41 -390 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreentime Hu
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix get_user and put_user pointer issue

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(-)
Signature · 1 line
2.7.4