The current kernel C-type macros might obscurely hide the fact that the input argument might be used multiple times.
This breaks code like:
isalpha(*ptr++)
The fix is to use static inline functions.
Sponsored by: Mellanox Technologies
MFC after: 1 week