aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/crypto/if_alg.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-04-01 13:23:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-01 13:23:14 -0700
commit890f0b0d27dc400679b9a91d04ca44f5ee4c19c0 (patch)
tree898dde3e925c815c287b88fefb3d9320a583235a /include/crypto/if_alg.h
parentx86: get rid of 'rtype' argument to __get_user_asm() macro (diff)
downloadwireguard-linux-890f0b0d27dc400679b9a91d04ca44f5ee4c19c0.tar.xz
wireguard-linux-890f0b0d27dc400679b9a91d04ca44f5ee4c19c0.zip
x86: start using named parameters for low-level uaccess asms
This is partly for readability - using named arguments instead of numbered ones makes it muchmore obvious just what is going on. Using "%[efault]" instead of "%4" for the special -EFAULT constant just means that you don't have to count the arguments to see what's up. But the motivation for all this cleanup is that when we'll start to conditionally use "asm goto" even for the __get_user_asm() case, the argument numbers will depend on whether we have an error output, or an error label we can just directly jump to. So this moves us towards named arguments for the same reason that we have to use named arguments for the asms that use SET_CC(): numbering will eventually become similarly unreliable and depends on whether we can use particular compiler features or not. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/crypto/if_alg.h')
0 files changed, 0 insertions, 0 deletions