diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
commit | 92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch) | |
tree | 15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/net/netlink.h | |
parent | 15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff) | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) |
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2
Backmerge to get at
commit 1b0e3a049efe471c399674fd954500ce97438d30
Author: Imre Deak <imre.deak@intel.com>
Date: Thu Nov 5 23:04:11 2015 +0200
drm/i915/skl: disable display side power well support for now
so that we can proplery re-eanble skl power wells in -next.
Conflicts are just adjacent lines changed, except for intel_fbdev.c
where we need to interleave the changs. Nothing nefarious.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r-- | include/net/netlink.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h index 2a5dbcc90d1c..0e3172751755 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h | |||
@@ -1004,6 +1004,15 @@ static inline __be32 nla_get_be32(const struct nlattr *nla) | |||
1004 | } | 1004 | } |
1005 | 1005 | ||
1006 | /** | 1006 | /** |
1007 | * nla_get_le32 - return payload of __le32 attribute | ||
1008 | * @nla: __le32 netlink attribute | ||
1009 | */ | ||
1010 | static inline __le32 nla_get_le32(const struct nlattr *nla) | ||
1011 | { | ||
1012 | return *(__le32 *) nla_data(nla); | ||
1013 | } | ||
1014 | |||
1015 | /** | ||
1007 | * nla_get_u16 - return payload of u16 attribute | 1016 | * nla_get_u16 - return payload of u16 attribute |
1008 | * @nla: u16 netlink attribute | 1017 | * @nla: u16 netlink attribute |
1009 | */ | 1018 | */ |
@@ -1066,6 +1075,15 @@ static inline __be64 nla_get_be64(const struct nlattr *nla) | |||
1066 | } | 1075 | } |
1067 | 1076 | ||
1068 | /** | 1077 | /** |
1078 | * nla_get_le64 - return payload of __le64 attribute | ||
1079 | * @nla: __le64 netlink attribute | ||
1080 | */ | ||
1081 | static inline __le64 nla_get_le64(const struct nlattr *nla) | ||
1082 | { | ||
1083 | return *(__le64 *) nla_data(nla); | ||
1084 | } | ||
1085 | |||
1086 | /** | ||
1069 | * nla_get_s32 - return payload of s32 attribute | 1087 | * nla_get_s32 - return payload of s32 attribute |
1070 | * @nla: s32 netlink attribute | 1088 | * @nla: s32 netlink attribute |
1071 | */ | 1089 | */ |