Any target to generate UAPI documentation reports warnings to missing annotation for padding member in structures added recently. This commit suppresses the warnings.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -130,6 +130,9 @@ struct fw_cdev_event_response { · 129 unmodified lines | |||
| 130 | * @length: Data length, i.e. the response's payload size in bytes | 130 | * @length: Data length, i.e. the response's payload size in bytes |
| 131 | * @request_tstamp: The time stamp of isochronous cycle at which the request was sent. | 131 | * @request_tstamp: The time stamp of isochronous cycle at which the request was sent. |
| 132 | * @response_tstamp: The time stamp of isochronous cycle at which the response was sent. | 132 | * @response_tstamp: The time stamp of isochronous cycle at which the response was sent. |
| 133 | * @padding: Padding to keep the size of structure as multiples of 8 in various architectures | ||
| 134 | * since 4 byte alignment is used for 8 byte of object type in System V ABI for i386 | ||
| 135 | * architecture. | ||
| 133 | * @data: Payload data, if any | 136 | * @data: Payload data, if any |
| 134 | * | 137 | * |
| 135 | * This event is sent when the stack receives a response to an outgoing request | 138 | * This event is sent when the stack receives a response to an outgoing request |
| @@ -155,10 +158,6 @@ struct fw_cdev_event_response2 { · 19 unmodified lines | |||
| 155 | __u32 length; | 158 | __u32 length; |
| 156 | __u32 request_tstamp; | 159 | __u32 request_tstamp; |
| 157 | __u32 response_tstamp; | 160 | __u32 response_tstamp; |
| 158 | /* | ||
| 159 | * Padding to keep the size of structure as multiples of 8 in various architectures since | ||
| 160 | * 4 byte alignment is used for 8 byte of object type in System V ABI for i386 architecture. | ||
| 161 | */ | ||
| 162 | __u32 padding; | 161 | __u32 padding; |
| 163 | __u32 data[]; | 162 | __u32 data[]; |
| 164 | }; | 163 | }; |
| @@ -231,6 +230,9 @@ struct fw_cdev_event_request2 { · 66 unmodified lines | |||
| 231 | * @handle: Reference to the kernel-side pending request | 230 | * @handle: Reference to the kernel-side pending request |
| 232 | * @length: Data length, i.e. the request's payload size in bytes | 231 | * @length: Data length, i.e. the request's payload size in bytes |
| 233 | * @tstamp: The time stamp of isochronous cycle at which the request arrived. | 232 | * @tstamp: The time stamp of isochronous cycle at which the request arrived. |
| 233 | * @padding: Padding to keep the size of structure as multiples of 8 in various architectures | ||
| 234 | * since 4 byte alignment is used for 8 byte of object type in System V ABI for i386 | ||
| 235 | * architecture. | ||
| 234 | * @data: Incoming data, if any | 236 | * @data: Incoming data, if any |
| 235 | * | 237 | * |
| 236 | * This event is sent when the stack receives an incoming request to an address | 238 | * This event is sent when the stack receives an incoming request to an address |
| @@ -284,10 +286,6 @@ struct fw_cdev_event_request3 { · 47 unmodified lines | |||
| 284 | __u32 handle; | 286 | __u32 handle; |
| 285 | __u32 length; | 287 | __u32 length; |
| 286 | __u32 tstamp; | 288 | __u32 tstamp; |
| 287 | /* | ||
| 288 | * Padding to keep the size of structure as multiples of 8 in various architectures since | ||
| 289 | * 4 byte alignment is used for 8 byte of object type in System V ABI for i386 architecture. | ||
| 290 | */ | ||
| 291 | __u32 padding; | 289 | __u32 padding; |
| 292 | __u32 data[]; | 290 | __u32 data[]; |
| 293 | }; | 291 | }; |