Merge tag 'firewire-fixes-6.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394

Pull firewire fix from Takashi Sakamoto:
 "A single patch to use a flexible array rather than a zero-length one"

* tag 'firewire-fixes-6.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
  firewire: Replace zero-length array with flexible-array member
This commit is contained in:
Linus Torvalds
2023-06-01 11:18:20 -04:00

View File

@@ -391,7 +391,7 @@ struct fw_iso_packet {
u32 tag:2; /* tx: Tag in packet header */ u32 tag:2; /* tx: Tag in packet header */
u32 sy:4; /* tx: Sy in packet header */ u32 sy:4; /* tx: Sy in packet header */
u32 header_length:8; /* Length of immediate header */ u32 header_length:8; /* Length of immediate header */
u32 header[0]; /* tx: Top of 1394 isoch. data_block */ u32 header[]; /* tx: Top of 1394 isoch. data_block */
}; };
#define FW_ISO_CONTEXT_TRANSMIT 0 #define FW_ISO_CONTEXT_TRANSMIT 0