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/linux/dccp.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/linux/dccp.h')
-rw-r--r-- | include/linux/dccp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index 221025423e6c..61d042bbbf60 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -202,16 +202,16 @@ struct dccp_service_list { | |||
202 | #define DCCP_SERVICE_INVALID_VALUE htonl((__u32)-1) | 202 | #define DCCP_SERVICE_INVALID_VALUE htonl((__u32)-1) |
203 | #define DCCP_SERVICE_CODE_IS_ABSENT 0 | 203 | #define DCCP_SERVICE_CODE_IS_ABSENT 0 |
204 | 204 | ||
205 | static inline int dccp_list_has_service(const struct dccp_service_list *sl, | 205 | static inline bool dccp_list_has_service(const struct dccp_service_list *sl, |
206 | const __be32 service) | 206 | const __be32 service) |
207 | { | 207 | { |
208 | if (likely(sl != NULL)) { | 208 | if (likely(sl != NULL)) { |
209 | u32 i = sl->dccpsl_nr; | 209 | u32 i = sl->dccpsl_nr; |
210 | while (i--) | 210 | while (i--) |
211 | if (sl->dccpsl_list[i] == service) | 211 | if (sl->dccpsl_list[i] == service) |
212 | return 1; | 212 | return true; |
213 | } | 213 | } |
214 | return 0; | 214 | return false; |
215 | } | 215 | } |
216 | 216 | ||
217 | struct dccp_ackvec; | 217 | struct dccp_ackvec; |