Commit f3e4ff28 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen

scsi: libfc: Whitespace cleanup in libfc.h

No functional change.

[mkp: typo]
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 20122994
...@@ -115,7 +115,7 @@ struct fc_disc_port { ...@@ -115,7 +115,7 @@ struct fc_disc_port {
struct fc_lport *lp; struct fc_lport *lp;
struct list_head peers; struct list_head peers;
struct work_struct rport_work; struct work_struct rport_work;
u32 port_id; u32 port_id;
}; };
/** /**
...@@ -155,14 +155,14 @@ struct fc_rport_operations { ...@@ -155,14 +155,14 @@ struct fc_rport_operations {
*/ */
struct fc_rport_libfc_priv { struct fc_rport_libfc_priv {
struct fc_lport *local_port; struct fc_lport *local_port;
enum fc_rport_state rp_state; enum fc_rport_state rp_state;
u16 flags; u16 flags;
#define FC_RP_FLAGS_REC_SUPPORTED (1 << 0) #define FC_RP_FLAGS_REC_SUPPORTED (1 << 0)
#define FC_RP_FLAGS_RETRY (1 << 1) #define FC_RP_FLAGS_RETRY (1 << 1)
#define FC_RP_STARTED (1 << 2) #define FC_RP_STARTED (1 << 2)
#define FC_RP_FLAGS_CONF_REQ (1 << 3) #define FC_RP_FLAGS_CONF_REQ (1 << 3)
unsigned int e_d_tov; unsigned int e_d_tov;
unsigned int r_a_tov; unsigned int r_a_tov;
}; };
/** /**
...@@ -191,24 +191,24 @@ struct fc_rport_priv { ...@@ -191,24 +191,24 @@ struct fc_rport_priv {
struct fc_lport *local_port; struct fc_lport *local_port;
struct fc_rport *rport; struct fc_rport *rport;
struct kref kref; struct kref kref;
enum fc_rport_state rp_state; enum fc_rport_state rp_state;
struct fc_rport_identifiers ids; struct fc_rport_identifiers ids;
u16 flags; u16 flags;
u16 max_seq; u16 max_seq;
u16 disc_id; u16 disc_id;
u16 maxframe_size; u16 maxframe_size;
unsigned int retries; unsigned int retries;
unsigned int major_retries; unsigned int major_retries;
unsigned int e_d_tov; unsigned int e_d_tov;
unsigned int r_a_tov; unsigned int r_a_tov;
struct mutex rp_mutex; struct mutex rp_mutex;
struct delayed_work retry_work; struct delayed_work retry_work;
enum fc_rport_event event; enum fc_rport_event event;
struct fc_rport_operations *ops; struct fc_rport_operations *ops;
struct list_head peers; struct list_head peers;
struct work_struct event_work; struct work_struct event_work;
u32 supported_classes; u32 supported_classes;
u16 prli_count; u16 prli_count;
struct rcu_head rcu; struct rcu_head rcu;
u16 sp_features; u16 sp_features;
u8 spp_type; u8 spp_type;
...@@ -618,12 +618,12 @@ struct libfc_function_template { ...@@ -618,12 +618,12 @@ struct libfc_function_template {
* @disc_callback: Callback routine called when discovery completes * @disc_callback: Callback routine called when discovery completes
*/ */
struct fc_disc { struct fc_disc {
unsigned char retry_count; unsigned char retry_count;
unsigned char pending; unsigned char pending;
unsigned char requested; unsigned char requested;
unsigned short seq_count; unsigned short seq_count;
unsigned char buf_len; unsigned char buf_len;
u16 disc_id; u16 disc_id;
struct list_head rports; struct list_head rports;
void *priv; void *priv;
...@@ -697,7 +697,7 @@ struct fc_lport { ...@@ -697,7 +697,7 @@ struct fc_lport {
struct fc_rport_priv *ms_rdata; struct fc_rport_priv *ms_rdata;
struct fc_rport_priv *ptp_rdata; struct fc_rport_priv *ptp_rdata;
void *scsi_priv; void *scsi_priv;
struct fc_disc disc; struct fc_disc disc;
/* Virtual port information */ /* Virtual port information */
struct list_head vports; struct list_head vports;
...@@ -715,7 +715,7 @@ struct fc_lport { ...@@ -715,7 +715,7 @@ struct fc_lport {
u8 retry_count; u8 retry_count;
/* Fabric information */ /* Fabric information */
u32 port_id; u32 port_id;
u64 wwpn; u64 wwpn;
u64 wwnn; u64 wwnn;
unsigned int service_params; unsigned int service_params;
...@@ -743,11 +743,11 @@ struct fc_lport { ...@@ -743,11 +743,11 @@ struct fc_lport {
struct fc_ns_fts fcts; struct fc_ns_fts fcts;
/* Miscellaneous */ /* Miscellaneous */
struct mutex lp_mutex; struct mutex lp_mutex;
struct list_head list; struct list_head list;
struct delayed_work retry_work; struct delayed_work retry_work;
void *prov[FC_FC4_PROV_SIZE]; void *prov[FC_FC4_PROV_SIZE];
struct list_head lport_list; struct list_head lport_list;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment