Revert "firewire: Annotate struct fw_iso_packet with __counted_by()"
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 25 Jul 2024 16:16:48 +0000 (01:16 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 27 Jul 2024 01:28:28 +0000 (10:28 +0900)
commit00e3913b0416fe69d28745c0a2a340e2f76c219c
tree10cd6ec859f9ccc25d2c859ad0fafb17d94a6404
parent06dcc4c9baa9e92896f00d02ffa760c0988b4371
Revert "firewire: Annotate struct fw_iso_packet with __counted_by()"

This reverts commit d3155742db89df3b3c96da383c400e6ff4d23c25.

The header_length field is byte unit, thus it can not express the number of
elements in header field. It seems that the argument for counted_by
attribute can have no arithmetic expression, therefore this commit just
reverts the issued commit.

Suggested-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20240725161648.130404-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
include/linux/firewire.h