diff options
| author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-17 08:56:14 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-17 08:56:14 -0400 |
| commit | 419cb9b34785afba73255802711246ea5c75809b (patch) | |
| tree | 964cef268c9627001ececc4fae45d50385cfe23f /include/uapi | |
| parent | 0ba2aeb6dab80920edd9cf5b93b1ea4d6913b8f3 (diff) | |
| parent | 1795cd9b3a91d4b5473c97f491d63892442212ab (diff) | |
Merge tag 'v3.16-rc5' into HEAD
Docbook creation was broken. We need to move after
v3.16-rc1-3-ga981296f048b in order to get commit
a981296f048b99b0d5bb4d87c732a6cfb35a1c66.
Linux 3.16-rc5
* tag 'v3.16-rc5': (985 commits)
Linux 3.16-rc5
clk: spear3xx: Set proper clock parent of uart1/2
clk: spear3xx: Use proper control register offset
parisc: drop unused defines and header includes
parisc: fix fanotify_mark() syscall on 32bit compat kernel
parisc: add serial ports of C8000/1GHz machine to hardware database
ext4: fix potential null pointer dereference in ext4_free_inode
ext4: fix a potential deadlock in __ext4_es_shrink()
Documenation/laptops: rename and update hpfall.c
DocBook: fix various typos
DocBook: fix mtdnand typos
scripts/kernel-doc: handle object-like macros
Documentation/Changes: clean up mcelog paragraph
ARM: at91: at91sam9x5: add clocks for usb device
phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove
phy: core: Fix error path in phy_create()
drivers: phy: phy-samsung-usb2.c: Add missing MODULE_DEVICE_TABLE
phy: omap-usb2: fix devm_ioremap_resource error detection code
phy: sun4i: depend on RESET_CONTROLLER
USB: serial: ftdi_sio: Add Infineon Triboard
...
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/btrfs.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/perf_event.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/usb/functionfs.h | 7 | ||||
| -rw-r--r-- | include/uapi/sound/compress_offload.h | 14 | ||||
| -rw-r--r-- | include/uapi/sound/compress_params.h | 14 |
5 files changed, 23 insertions, 14 deletions
diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index 6f9c38ce45c7..2f47824e7a36 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h | |||
| @@ -38,6 +38,7 @@ struct btrfs_ioctl_vol_args { | |||
| 38 | #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) | 38 | #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) |
| 39 | #define BTRFS_FSID_SIZE 16 | 39 | #define BTRFS_FSID_SIZE 16 |
| 40 | #define BTRFS_UUID_SIZE 16 | 40 | #define BTRFS_UUID_SIZE 16 |
| 41 | #define BTRFS_UUID_UNPARSED_SIZE 37 | ||
| 41 | 42 | ||
| 42 | #define BTRFS_QGROUP_INHERIT_SET_LIMITS (1ULL << 0) | 43 | #define BTRFS_QGROUP_INHERIT_SET_LIMITS (1ULL << 0) |
| 43 | 44 | ||
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 5312fae47218..9269de254874 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h | |||
| @@ -705,6 +705,7 @@ enum perf_event_type { | |||
| 705 | * u32 min; | 705 | * u32 min; |
| 706 | * u64 ino; | 706 | * u64 ino; |
| 707 | * u64 ino_generation; | 707 | * u64 ino_generation; |
| 708 | * u32 prot, flags; | ||
| 708 | * char filename[]; | 709 | * char filename[]; |
| 709 | * struct sample_id sample_id; | 710 | * struct sample_id sample_id; |
| 710 | * }; | 711 | * }; |
diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h index 2a4b4a72a4f9..24b68c59dcf8 100644 --- a/include/uapi/linux/usb/functionfs.h +++ b/include/uapi/linux/usb/functionfs.h | |||
| @@ -33,6 +33,13 @@ struct usb_endpoint_descriptor_no_audio { | |||
| 33 | __u8 bInterval; | 33 | __u8 bInterval; |
| 34 | } __attribute__((packed)); | 34 | } __attribute__((packed)); |
| 35 | 35 | ||
| 36 | /* Legacy format, deprecated as of 3.14. */ | ||
| 37 | struct usb_functionfs_descs_head { | ||
| 38 | __le32 magic; | ||
| 39 | __le32 length; | ||
| 40 | __le32 fs_count; | ||
| 41 | __le32 hs_count; | ||
| 42 | } __attribute__((packed, deprecated)); | ||
| 36 | 43 | ||
| 37 | /* | 44 | /* |
| 38 | * Descriptors format: | 45 | * Descriptors format: |
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h index 21eed488783f..1964026b5e09 100644 --- a/include/uapi/sound/compress_offload.h +++ b/include/uapi/sound/compress_offload.h | |||
| @@ -39,7 +39,7 @@ | |||
| 39 | struct snd_compressed_buffer { | 39 | struct snd_compressed_buffer { |
| 40 | __u32 fragment_size; | 40 | __u32 fragment_size; |
| 41 | __u32 fragments; | 41 | __u32 fragments; |
| 42 | }; | 42 | } __attribute__((packed, aligned(4))); |
| 43 | 43 | ||
| 44 | /** | 44 | /** |
| 45 | * struct snd_compr_params: compressed stream params | 45 | * struct snd_compr_params: compressed stream params |
| @@ -51,7 +51,7 @@ struct snd_compr_params { | |||
| 51 | struct snd_compressed_buffer buffer; | 51 | struct snd_compressed_buffer buffer; |
| 52 | struct snd_codec codec; | 52 | struct snd_codec codec; |
| 53 | __u8 no_wake_mode; | 53 | __u8 no_wake_mode; |
| 54 | }; | 54 | } __attribute__((packed, aligned(4))); |
| 55 | 55 | ||
| 56 | /** | 56 | /** |
| 57 | * struct snd_compr_tstamp: timestamp descriptor | 57 | * struct snd_compr_tstamp: timestamp descriptor |
| @@ -70,7 +70,7 @@ struct snd_compr_tstamp { | |||
| 70 | __u32 pcm_frames; | 70 | __u32 pcm_frames; |
| 71 | __u32 pcm_io_frames; | 71 | __u32 pcm_io_frames; |
| 72 | __u32 sampling_rate; | 72 | __u32 sampling_rate; |
| 73 | }; | 73 | } __attribute__((packed, aligned(4))); |
| 74 | 74 | ||
| 75 | /** | 75 | /** |
| 76 | * struct snd_compr_avail: avail descriptor | 76 | * struct snd_compr_avail: avail descriptor |
| @@ -80,7 +80,7 @@ struct snd_compr_tstamp { | |||
| 80 | struct snd_compr_avail { | 80 | struct snd_compr_avail { |
| 81 | __u64 avail; | 81 | __u64 avail; |
| 82 | struct snd_compr_tstamp tstamp; | 82 | struct snd_compr_tstamp tstamp; |
| 83 | } __attribute__((packed)); | 83 | } __attribute__((packed, aligned(4))); |
| 84 | 84 | ||
| 85 | enum snd_compr_direction { | 85 | enum snd_compr_direction { |
| 86 | SND_COMPRESS_PLAYBACK = 0, | 86 | SND_COMPRESS_PLAYBACK = 0, |
| @@ -107,7 +107,7 @@ struct snd_compr_caps { | |||
| 107 | __u32 max_fragments; | 107 | __u32 max_fragments; |
| 108 | __u32 codecs[MAX_NUM_CODECS]; | 108 | __u32 codecs[MAX_NUM_CODECS]; |
| 109 | __u32 reserved[11]; | 109 | __u32 reserved[11]; |
| 110 | }; | 110 | } __attribute__((packed, aligned(4))); |
| 111 | 111 | ||
| 112 | /** | 112 | /** |
| 113 | * struct snd_compr_codec_caps: query capability of codec | 113 | * struct snd_compr_codec_caps: query capability of codec |
| @@ -119,7 +119,7 @@ struct snd_compr_codec_caps { | |||
| 119 | __u32 codec; | 119 | __u32 codec; |
| 120 | __u32 num_descriptors; | 120 | __u32 num_descriptors; |
| 121 | struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; | 121 | struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; |
| 122 | }; | 122 | } __attribute__((packed, aligned(4))); |
| 123 | 123 | ||
| 124 | /** | 124 | /** |
| 125 | * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the | 125 | * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the |
| @@ -140,7 +140,7 @@ enum { | |||
| 140 | struct snd_compr_metadata { | 140 | struct snd_compr_metadata { |
| 141 | __u32 key; | 141 | __u32 key; |
| 142 | __u32 value[8]; | 142 | __u32 value[8]; |
| 143 | }; | 143 | } __attribute__((packed, aligned(4))); |
| 144 | 144 | ||
| 145 | /** | 145 | /** |
| 146 | * compress path ioctl definitions | 146 | * compress path ioctl definitions |
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index 165e7059de75..d9bd9ca0d5b0 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h | |||
| @@ -268,7 +268,7 @@ struct snd_enc_vorbis { | |||
| 268 | __u32 max_bit_rate; | 268 | __u32 max_bit_rate; |
| 269 | __u32 min_bit_rate; | 269 | __u32 min_bit_rate; |
| 270 | __u32 downmix; | 270 | __u32 downmix; |
| 271 | }; | 271 | } __attribute__((packed, aligned(4))); |
| 272 | 272 | ||
| 273 | 273 | ||
| 274 | /** | 274 | /** |
| @@ -284,7 +284,7 @@ struct snd_enc_real { | |||
| 284 | __u32 quant_bits; | 284 | __u32 quant_bits; |
| 285 | __u32 start_region; | 285 | __u32 start_region; |
| 286 | __u32 num_regions; | 286 | __u32 num_regions; |
| 287 | }; | 287 | } __attribute__((packed, aligned(4))); |
| 288 | 288 | ||
| 289 | /** | 289 | /** |
| 290 | * struct snd_enc_flac | 290 | * struct snd_enc_flac |
| @@ -308,12 +308,12 @@ struct snd_enc_real { | |||
| 308 | struct snd_enc_flac { | 308 | struct snd_enc_flac { |
| 309 | __u32 num; | 309 | __u32 num; |
| 310 | __u32 gain; | 310 | __u32 gain; |
| 311 | }; | 311 | } __attribute__((packed, aligned(4))); |
| 312 | 312 | ||
| 313 | struct snd_enc_generic { | 313 | struct snd_enc_generic { |
| 314 | __u32 bw; /* encoder bandwidth */ | 314 | __u32 bw; /* encoder bandwidth */ |
| 315 | __s32 reserved[15]; | 315 | __s32 reserved[15]; |
| 316 | }; | 316 | } __attribute__((packed, aligned(4))); |
| 317 | 317 | ||
| 318 | union snd_codec_options { | 318 | union snd_codec_options { |
| 319 | struct snd_enc_wma wma; | 319 | struct snd_enc_wma wma; |
| @@ -321,7 +321,7 @@ union snd_codec_options { | |||
| 321 | struct snd_enc_real real; | 321 | struct snd_enc_real real; |
| 322 | struct snd_enc_flac flac; | 322 | struct snd_enc_flac flac; |
| 323 | struct snd_enc_generic generic; | 323 | struct snd_enc_generic generic; |
| 324 | }; | 324 | } __attribute__((packed, aligned(4))); |
| 325 | 325 | ||
| 326 | /** struct snd_codec_desc - description of codec capabilities | 326 | /** struct snd_codec_desc - description of codec capabilities |
| 327 | * @max_ch: Maximum number of audio channels | 327 | * @max_ch: Maximum number of audio channels |
| @@ -358,7 +358,7 @@ struct snd_codec_desc { | |||
| 358 | __u32 formats; | 358 | __u32 formats; |
| 359 | __u32 min_buffer; | 359 | __u32 min_buffer; |
| 360 | __u32 reserved[15]; | 360 | __u32 reserved[15]; |
| 361 | }; | 361 | } __attribute__((packed, aligned(4))); |
| 362 | 362 | ||
| 363 | /** struct snd_codec | 363 | /** struct snd_codec |
| 364 | * @id: Identifies the supported audio encoder/decoder. | 364 | * @id: Identifies the supported audio encoder/decoder. |
| @@ -399,6 +399,6 @@ struct snd_codec { | |||
| 399 | __u32 align; | 399 | __u32 align; |
| 400 | union snd_codec_options options; | 400 | union snd_codec_options options; |
| 401 | __u32 reserved[3]; | 401 | __u32 reserved[3]; |
| 402 | }; | 402 | } __attribute__((packed, aligned(4))); |
| 403 | 403 | ||
| 404 | #endif | 404 | #endif |
