diff options
| author | Aaron Conole <aconole@bytheb.org> | 2015-09-26 18:50:42 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 20:45:08 +0200 |
| commit | edc17092dc056161958cff8721ccd9d3ebc0ec57 (patch) | |
| tree | 05cf531136962725d49ecc707d3497c163fccdba /include/linux | |
| parent | 6e4dd545381c8d95c184be39b72a6f198bbc0e36 (diff) | |
af_unix: Convert the unix_sk macro to an inline function for type safety
[ Upstream commit 4613012db1d911f80897f9446a49de817b2c4c47 ]
As suggested by Eric Dumazet this change replaces the
#define with a static inline function to enjoy
complaints by the compiler when misusing the API.
Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
