aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStefano Garzarella <[email protected]>2025-02-13 16:18:25 +0000
committerTakashi Iwai <[email protected]>2025-02-14 11:58:02 +0000
commit362ff1e7c6c20f8d6ebe20682870d471373c608b (patch)
tree6d8f3c6f68aa5ea838107bd4c7837e28c2be73b5 /net/unix/af_unix.c
parentALSA: hda: Add error check for snd_ctl_rename_id() in snd_hda_create_dig_out_... (diff)
downloadkernel-362ff1e7c6c20f8d6ebe20682870d471373c608b.tar.gz
kernel-362ff1e7c6c20f8d6ebe20682870d471373c608b.zip
virtio_snd.h: clarify that `controls` depends on VIRTIO_SND_F_CTLS
As defined in the specification, the `controls` field in the configuration space is only valid/present if VIRTIO_SND_F_CTLS is negotiated. From https://docs.oasis-open.org/virtio/virtio/v1.3/virtio-v1.3.html: 5.14.4 Device Configuration Layout ... controls (driver-read-only) indicates a total number of all available control elements if VIRTIO_SND_F_CTLS has been negotiated. Let's use the same style used in virtio_blk.h to clarify this and to avoid confusion as happened in QEMU (see link). Link: https://gitlab.com/qemu-project/qemu/-/issues/2805 Signed-off-by: Stefano Garzarella <[email protected]> Acked-by: Eugenio PĂ©rez <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions