firewire: core: correct comment about execution context
Takashi Sakamoto
maintainerPATCH 1/1 firewire: core: correct comment about execution context
The comment for fw_address_callback_t describes the execution context, but the callback has not been called from RCU read-side critical section since v6.17.
Fixes e884a8a0c573 ("firewire: core: call FCP address handlers outside RCU read-side critical section")
Fixes e8cf6875005b ("firewire: core: call handler for exclusive regions outside RCU read-side critical section")
Signed-off-by Takashi Sakamoto <[email protected]>
--- include/linux/firewire.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
include/linux/firewire.h +3 -2
@@ -299,8 +299,9 @@ union fw_transaction_callback { };/* -* This callback handles an inbound request subaction. It is called in -* RCU read-side context, therefore must not sleep. +* This callback handles an inbound request subaction. If the request subaction is initiated from +* the local node (e.g. by unit driver), the execution context depends on the initiator and is +* unspecified. Otherwise, it runs in workqueue context. * * The callback should not initiate outbound request subactions directly. * Otherwise there is a danger of recursion of inbound and outbound
Signature · 1 line
2.53.0
Quoted 10 lines · Takashi Sakamoto
The comment for
fw_address_callback_tdescribes the execution context, but the callback has not been called from RCU read-side critical section since v6.17.Fixes e884a8a0c573 ("firewire: core: call FCP address handlers outside RCU read-side critical section")Fixes e8cf6875005b ("firewire: core: call handler for exclusive regions outside RCU read-side critical section")Signed-off-by Takashi Sakamoto <[email protected]>--- include/linux/firewire.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto