]> git.karo-electronics.de Git - karo-tx-linux.git/commit
asm-generic: {get,put}_user ptr argument evaluate only 1 time
authorYoshinori Sato <ysato@users.sourceforge.jp>
Thu, 16 Jul 2015 04:56:06 +0000 (13:56 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 20 Oct 2015 02:30:08 +0000 (11:30 +0900)
commitfce2a6bf0840c9d7c841beb4963d424e6e599c13
treea8d1001f1069baf1835998bb9f87c3da22c8989e
parent13008efd3eda1638cc3201f53edbaf5891c8f879
asm-generic: {get,put}_user ptr argument evaluate only 1 time

Current implemantation ptr argument evaluate 2 times.
It'll be an unexpected result.

Changes v5:
Remove unnecessary const.
Changes v4:
Temporary pointer type change to const void*
Changes v3:
Some build error fix.
Changes v2:
Argument x protect.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
include/asm-generic/uaccess.h