Skip to content

Commit

Permalink
Merge tag 'firewire-fixes-6.4-rc4' of git://git.kernel.org/pub/scm/li…
Browse files Browse the repository at this point in the history
…nux/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
  • Loading branch information
Linus Torvalds committed Jun 1, 2023
2 parents cd69bf3 + 4420528 commit 1874a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/firewire.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ struct fw_iso_packet {
u32 tag:2; /* tx: Tag in packet header */
u32 sy:4; /* tx: Sy in packet 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
Expand Down

0 comments on commit 1874a42

Please sign in to comment.