public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] firewire: code refactoring mainly for bm_work
@ 2025-09-08  1:20 Takashi Sakamoto
  2025-09-08  1:20 ` [PATCH 01/11] firewire: ohci: use kcalloc() variant for array allocation Takashi Sakamoto
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Takashi Sakamoto @ 2025-09-08  1:20 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

Hi,

The core function in this subsystem have bm_work work item. The
corresponding function has many lines with comments. It is a sign
that it is time to be refactored, in my experience.

This series includes the first take for the purpose, as well as the
other code improvements of 1394 OHCI PCI driver and the other core
functions.

Takashi Sakamoto (11):
  firewire: ohci: use kcalloc() variant for array allocation
  firewire: core: utilize cleanup function to release workqueue in error
    path
  firewire: ohci: use return value from fw_node_get()
  firewire: core: add helper functions to access to fw_device data in
    fw_node structure
  firewire: core: use cleanup function in bm_work
  firewire: ohci: localize transaction data and rcode per condition
    branch
  firewire: core: code refactoring to evaluate transaction result to
    CSR_BUS_MANAGER_ID
  firewire: core: refer fw_card member to initiate bus reset under
    acquiring lock
  firewire: core: code refactoring to detect both IEEE 1394:1995 IRM and
    Canon MV5i
  firewire: core: code refactoring to investigate root node for bus
    manager
  firewire: core: code refactoring whether root node is cycle master
    capable

 drivers/firewire/core-card.c   | 239 +++++++++++++++++----------------
 drivers/firewire/core-device.c |  18 +--
 drivers/firewire/core.h        |  14 +-
 drivers/firewire/ohci.c        |   7 +-
 4 files changed, 143 insertions(+), 135 deletions(-)


base-commit: a901f493d06631091bf1f644fdbb5cb4f566645d
-- 
2.48.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-09-08 21:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08  1:20 [PATCH 00/11] firewire: code refactoring mainly for bm_work Takashi Sakamoto
2025-09-08  1:20 ` [PATCH 01/11] firewire: ohci: use kcalloc() variant for array allocation Takashi Sakamoto
2025-09-08  1:20 ` [PATCH 02/11] firewire: core: utilize cleanup function to release workqueue in error path Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 03/11] firewire: ohci: use return value from fw_node_get() Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 04/11] firewire: core: add helper functions to access to fw_device data in fw_node structure Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 05/11] firewire: core: use cleanup function in bm_work Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 06/11] firewire: ohci: localize transaction data and rcode per condition branch Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 07/11] firewire: core: code refactoring to evaluate transaction result to CSR_BUS_MANAGER_ID Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 08/11] firewire: core: refer fw_card member to initiate bus reset under acquiring lock Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 09/11] firewire: core: code refactoring to detect both IEEE 1394:1995 IRM and Canon MV5i Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 10/11] firewire: core: code refactoring to investigate root node for bus manager Takashi Sakamoto
2025-09-08  1:21 ` [PATCH 11/11] firewire: core: code refactoring whether root node is cycle master capable Takashi Sakamoto
2025-09-08 21:08 ` [PATCH 00/11] firewire: code refactoring mainly for bm_work Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox