Skip to content

Commit 1874a42

Browse files
committed
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
2 parents cd69bf3 + 4420528 commit 1874a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/firewire.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ struct fw_iso_packet {
391391
u32 tag:2; /* tx: Tag in packet header */
392392
u32 sy:4; /* tx: Sy in packet header */
393393
u32 header_length:8; /* Length of immediate header */
394-
u32 header[0]; /* tx: Top of 1394 isoch. data_block */
394+
u32 header[]; /* tx: Top of 1394 isoch. data_block */
395395
};
396396

397397
#define FW_ISO_CONTEXT_TRANSMIT 0

0 commit comments

Comments
 (0)