[PATCH v2 0/8] firewire: cdev: add annotations for compiler-based context analysis
From: Takashi Sakamoto
Date: Mon Nov 02 2026 - 23:29:53 EST
Hi,
This series prepares the cdev layer for compiler-based context analysis
by adding the necessary annotations.
It also adds a __counted_by() annotation as well as cleanup functions to
simplify resource allocation and error handling.
Changes from v1:
* Drop the changes to iso_context_mutex for now and revisit them in future
work
Thanks
Takashi Sakamoto (8):
firewire: core: add context analysis annotations for address handler
firewire: cdev: add context analysis annotations for phy_receiver_list
firewire: cdev: annotate data length in inbound_transaction_resource
firewire: core: add context analysis annotation to
queue_bus_reset_event()
firewire: cdev: add context analysis annotations for client shutdown
flag and event list
firewire: cdev: use cleanup function for outbound transaction event
allocation
firewire: cdev: use cleanup function for descriptor_resource
allocation
firewire: cdev: enable compiler-based context analysis
drivers/firewire/Makefile | 1 +
drivers/firewire/core-cdev.c | 63 +++++++++++++----------------
drivers/firewire/core-transaction.c | 12 ++++--
3 files changed, 36 insertions(+), 40 deletions(-)
base-commit: 3110316fb834e17670ba2690ee75fb05d92b3ef1
--
2.53.0