libfc callback cleanup
Status from this message: Applied to 4.10/scsi-queue.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | libfc: Replace ->seq_els_rsp_send callback with function calldrivers/ drivers/ drivers/ +3 more | +24 | 2 replies | |
| 2/20 | libfc: Replace ->lport_reset callback with function calldrivers/ drivers/ drivers/ +1 more | +2 | 1 reply | |
| 3/20 | libfc: Replace ->lport_recv with function calldrivers/ drivers/ include/ | +6 | 1 reply | |
| 4/20 | libfc: Replace ->exch_seq_send callback with function calldrivers/ drivers/ drivers/ +3 more | +45 | 1 reply | |
| 5/20 | libfc: Replace ->rport_destroy callback with function calldrivers/ drivers/ drivers/ +2 more | +43 | 1 reply | |
| 6/20 | libfc: Replace ->rport_lookup callback with function calldrivers/ drivers/ drivers/ +1 more | +12 | 1 reply | |
| 7/20 | scsi_transport_fc: rename 'fc_rport_create' to 'fc_remote_port_create'drivers/ | +4 | 3 replies | |
| 8/20 | libfc: Replace ->rport_create callback with function calldrivers/ drivers/ drivers/ +2 more | +11 | 3 replies | |
| 9/20 | libfc: Replace ->rport_login callback with function calldrivers/ drivers/ drivers/ +2 more | +19 | 1 reply | |
| 10/20 | libfc: Replace ->rport_logoff callback with function calldrivers/ drivers/ drivers/ +3 more | +18 | 2 replies | |
| 11/20 | libfc: Replace ->rport_recv_req callback with function calldrivers/ drivers/ include/ | +4 | 1 reply | |
| 12/20 | libfc: Replace ->rport_flush_queue callback with function calldrivers/ drivers/ drivers/ +2 more | +6 | 1 reply | |
| 13/20 | libfc: Remove fc_rport_init()drivers/ drivers/ drivers/ +1 more | +0 | 2 replies | |
| 14/20 | libfc: Replace ->seq_send callback with function calldrivers/ drivers/ drivers/ +2 more | +9 | 1 reply | |
| 15/20 | libfc: Replace ->seq_exch_abort callback with function calldrivers/ drivers/ include/ | +11 | 1 reply | |
| 16/20 | libfc: Replace ->exch_done callback with function calldrivers/ drivers/ drivers/ +2 more | +15 | 1 reply | |
| 17/20 | libfc: Replace ->seq_start_next callback with function calldrivers/ drivers/ drivers/ +3 more | +9 | 1 reply | |
| 18/20 | libfc: Replace ->seq_set_resp callback with direct function calldrivers/ drivers/ include/ | +8 | 1 reply | |
| 19/20 | libfc: Replace ->seq_assign callback with function calldrivers/ drivers/ include/ | +4 | 1 reply | |
| 20/20 | libfc: Replace ->seq_release callback with function calldrivers/ drivers/ include/ | +4 | 1 reply |
Reviews trailers per patch
All 20 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Chad Dupuis |
|---|---|---|
| 1/20 | A-b A-b | |
| 2/20 | A-b | |
| 3/20 | A-b | |
| 4/20 | A-b | |
| 5/20 | A-b | |
| 6/20 | A-b | |
| 7/20 | A-b | |
| 8/20 | A-b | |
| 9/20 | A-b | |
| 10/20 | A-b | R-b |
| 11/20 | A-b | |
| 12/20 | A-b | |
| 13/20 | A-b | R-b |
| 14/20 | A-b | |
| 15/20 | A-b | |
| 16/20 | A-b | |
| 17/20 | A-b | |
| 18/20 | A-b | |
| 19/20 | A-b | |
| 20/20 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/20] libfc callback cleanup
Hi all,
it has been bugging me for a while that libfc has tons of callbacks in an attempt to abstract things away. But as it turned out no-one ever used those, rendering them quite pointless.
As I got some time to kill on the train back from Vienna I've decided to finally kill them and call the functions directly.
As usual, comments and reviews are welcome.
Hannes Reinecke (20):
libfc: Replace ->seq_els_rsp_send callback with function call
libfc: Replace ->lport_reset callback with function call
libfc: Replace ->lport_recv with function call
libfc: Replace ->exch_seq_send callback with function call
libfc: Replace ->rport_destroy callback with function call
libfc: Replace ->rport_lookup callback with function call
scsi_transport_fc: rename 'fc_rport_create' to 'fc_remote_port_create'
libfc: Replace ->rport_create callback with function call
libfc: Replace ->rport_login callback with function call
libfc: Replace ->rport_logoff callback with function call
libfc: Replace ->rport_recv_req callback with function call
libfc: Replace ->rport_flush_queue callback with function call
libfc: Remove fc_rport_init()
libfc: Replace ->seq_send callback with function call
libfc: Replace ->seq_exch_abort callback with function call
libfc: Replace ->exch_done callback with function call
libfc: Replace ->seq_start_next callback with function call
libfc: Replace ->seq_set_resp callback with direct function call
libfc: Replace ->seq_assign callback with function call
libfc: Replace ->seq_release callback with function call
drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 1 - drivers/scsi/bnx2fc/bnx2fc_tgt.c | 3 +- drivers/scsi/fcoe/fcoe_ctlr.c | 35 ++++--- drivers/scsi/fnic/fnic_scsi.c | 2 +- drivers/scsi/libfc/fc_disc.c | 33 ++++--- drivers/scsi/libfc/fc_elsct.c | 2 +- drivers/scsi/libfc/fc_exch.c | 104 ++++++++++---------- drivers/scsi/libfc/fc_fcp.c | 45 ++++----- drivers/scsi/libfc/fc_libfc.c | 2 +- drivers/scsi/libfc/fc_lport.c | 62 ++++++------ drivers/scsi/libfc/fc_rport.c | 167 ++++++++++++++------------------ drivers/scsi/scsi_transport_fc.c | 8 +- drivers/target/tcm_fc/tfc_cmd.c | 20 ++-- drivers/target/tcm_fc/tfc_io.c | 4 +- include/scsi/libfc.h | 195 ++++++-------------------------------- 15 files changed, 254 insertions(+), 429 deletions(-)
Signature · 1 line
1.8.5.6