diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-21 05:33:03 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-21 08:44:55 -0400 |
| commit | 64131a87f2aae2ed9e05d8227c5b009ca6c50d98 (patch) | |
| tree | fdea23fd59216120bf54a48c60ca24489a733f14 /include/linux/socket.h | |
| parent | 676ee36be04985062522804c2de04f0764212be6 (diff) | |
| parent | 2c33ce009ca2389dbf0535d0672214d09738e35e (diff) | |
Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus
* 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux: (9717 commits)
media-bus: Fixup RGB444_1X12, RGB565_1X16, and YUV8_1X24 media bus format
hexdump: avoid warning in test function
fs: take i_mutex during prepare_binprm for set[ug]id executables
smp: Fix error case handling in smp_call_function_*()
iommu-common: Fix PARISC compile-time warnings
sparc: Make LDC use common iommu poll management functions
sparc: Make sparc64 use scalable lib/iommu-common.c functions
Break up monolithic iommu table/lock into finer graularity pools and lock
sparc: Revert generic IOMMU allocator.
tools/power turbostat: correct dumped pkg-cstate-limit value
tools/power turbostat: calculate TSC frequency from CPUID(0x15) on SKL
tools/power turbostat: correct DRAM RAPL units on recent Xeon processors
tools/power turbostat: Initial Skylake support
tools/power turbostat: Use $(CURDIR) instead of $(PWD) and add support for O= option in Makefile
tools/power turbostat: modprobe msr, if needed
tools/power turbostat: dump MSR_TURBO_RATIO_LIMIT2
tools/power turbostat: use new MSR_TURBO_RATIO_LIMIT names
Bluetooth: hidp: Fix regression with older userspace and flags validation
config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected
perf/x86/intel/pt: Fix and clean up error handling in pt_event_add()
...
That solves several merge conflicts:
Documentation/DocBook/media/v4l/subdev-formats.xml
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/staging/media/mn88473/mn88473.c
include/linux/kconfig.h
include/uapi/linux/media-bus-format.h
The ones at subdev-formats.xml and media-bus-format.h are not trivial.
That's why we opted to merge from DRM.
Diffstat (limited to 'include/linux/socket.h')
| -rw-r--r-- | include/linux/socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 5c19cba34dce..5bf59c8493b7 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
| @@ -51,6 +51,7 @@ struct msghdr { | |||
| 51 | void *msg_control; /* ancillary data */ | 51 | void *msg_control; /* ancillary data */ |
| 52 | __kernel_size_t msg_controllen; /* ancillary data buffer length */ | 52 | __kernel_size_t msg_controllen; /* ancillary data buffer length */ |
| 53 | unsigned int msg_flags; /* flags on received message */ | 53 | unsigned int msg_flags; /* flags on received message */ |
| 54 | struct kiocb *msg_iocb; /* ptr to iocb for async requests */ | ||
| 54 | }; | 55 | }; |
| 55 | 56 | ||
| 56 | struct user_msghdr { | 57 | struct user_msghdr { |
| @@ -138,6 +139,11 @@ static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr | |||
| 138 | return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); | 139 | return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); |
| 139 | } | 140 | } |
| 140 | 141 | ||
| 142 | static inline size_t msg_data_left(struct msghdr *msg) | ||
| 143 | { | ||
| 144 | return iov_iter_count(&msg->msg_iter); | ||
| 145 | } | ||
| 146 | |||
| 141 | /* "Socket"-level control message types: */ | 147 | /* "Socket"-level control message types: */ |
| 142 | 148 | ||
| 143 | #define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */ | 149 | #define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */ |
| @@ -181,6 +187,7 @@ struct ucred { | |||
| 181 | #define AF_WANPIPE 25 /* Wanpipe API Sockets */ | 187 | #define AF_WANPIPE 25 /* Wanpipe API Sockets */ |
| 182 | #define AF_LLC 26 /* Linux LLC */ | 188 | #define AF_LLC 26 /* Linux LLC */ |
| 183 | #define AF_IB 27 /* Native InfiniBand address */ | 189 | #define AF_IB 27 /* Native InfiniBand address */ |
| 190 | #define AF_MPLS 28 /* MPLS */ | ||
| 184 | #define AF_CAN 29 /* Controller Area Network */ | 191 | #define AF_CAN 29 /* Controller Area Network */ |
| 185 | #define AF_TIPC 30 /* TIPC sockets */ | 192 | #define AF_TIPC 30 /* TIPC sockets */ |
| 186 | #define AF_BLUETOOTH 31 /* Bluetooth sockets */ | 193 | #define AF_BLUETOOTH 31 /* Bluetooth sockets */ |
| @@ -226,6 +233,7 @@ struct ucred { | |||
| 226 | #define PF_WANPIPE AF_WANPIPE | 233 | #define PF_WANPIPE AF_WANPIPE |
| 227 | #define PF_LLC AF_LLC | 234 | #define PF_LLC AF_LLC |
| 228 | #define PF_IB AF_IB | 235 | #define PF_IB AF_IB |
| 236 | #define PF_MPLS AF_MPLS | ||
| 229 | #define PF_CAN AF_CAN | 237 | #define PF_CAN AF_CAN |
| 230 | #define PF_TIPC AF_TIPC | 238 | #define PF_TIPC AF_TIPC |
| 231 | #define PF_BLUETOOTH AF_BLUETOOTH | 239 | #define PF_BLUETOOTH AF_BLUETOOTH |
