summaryrefslogtreecommitdiff
path: root/include/uapi/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-11-13 08:23:03 +0100
committerTakashi Iwai <tiwai@suse.de>2024-11-13 13:54:27 +0100
commitb773c086ed58c7e9111a4d4f251a98db3d4165d8 (patch)
tree27958861855fe54d15bebade2302cd2feac6ba98 /include/uapi/sound
parenta0810c3d6dd2d29a9b92604d682eacd2902ce947 (diff)
downloadlwn-b773c086ed58c7e9111a4d4f251a98db3d4165d8.tar.gz
lwn-b773c086ed58c7e9111a4d4f251a98db3d4165d8.zip
ALSA: compress_offload: Add missing descriptions in structs
Add the missing descriptions for snd_compr_ops, snd_compr_task and snd_compr_task_status fields, in order to shut up the build warnings. Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/20241028193731.4b0c3788@canb.auug.org.au Link: https://patch.msgid.link/20241113072304.4447-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r--include/uapi/sound/compress_offload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h
index 98772b0cbcb7..d62eb93af0ed 100644
--- a/include/uapi/sound/compress_offload.h
+++ b/include/uapi/sound/compress_offload.h
@@ -139,6 +139,7 @@ struct snd_compr_metadata {
* @output_fd: data output file descriptor (dma-buf)
* @input_size: filled data in bytes (from caller, must not exceed fragment size)
* @flags: see SND_COMPRESS_TFLG_* defines
+ * @reserved: reserved for future extension
*/
struct snd_compr_task {
__u64 seqno;
@@ -169,6 +170,7 @@ enum snd_compr_state {
* @output_size: filled data in bytes (from driver)
* @output_flags: reserved for future (all zeros - from driver)
* @state: actual task state (SND_COMPRESS_TASK_STATE_*)
+ * @reserved: reserved for future extension
*/
struct snd_compr_task_status {
__u64 seqno;