[SCSI] libfc, fcoe: Cleanup function formatting and minor typos
1) There were a few functions with a strange layout, i.e. all arguments on the second line, when not necessary. Where ever possible I moved the return value to the same line as the function name. However, when the line was too long to have a single argument on the same line I moved the return value to above line. For example: <short return> <function name>(<arg 1>, <arg2>) and <very long return value> <function name>(<arg1>, <arg2>) 2) Removed one extra whitespace line 3) Fixed two typos Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:

committed by
James Bottomley

parent
34f42a070f
commit
b2ab99c9a3
@@ -675,8 +675,8 @@ static struct fc_exch *fc_exch_resp(struct fc_exch_mgr *mp, struct fc_frame *fp)
|
||||
* If fc_pf_rjt_reason is FC_RJT_NONE then this function will have a hold
|
||||
* on the ep that should be released by the caller.
|
||||
*/
|
||||
static enum fc_pf_rjt_reason
|
||||
fc_seq_lookup_recip(struct fc_exch_mgr *mp, struct fc_frame *fp)
|
||||
static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_exch_mgr *mp,
|
||||
struct fc_frame *fp)
|
||||
{
|
||||
struct fc_frame_header *fh = fc_frame_header_get(fp);
|
||||
struct fc_exch *ep = NULL;
|
||||
@@ -994,9 +994,9 @@ static void fc_seq_send_ack(struct fc_seq *sp, const struct fc_frame *rx_fp)
|
||||
* Send BLS Reject.
|
||||
* This is for rejecting BA_ABTS only.
|
||||
*/
|
||||
static void
|
||||
fc_exch_send_ba_rjt(struct fc_frame *rx_fp, enum fc_ba_rjt_reason reason,
|
||||
enum fc_ba_rjt_explan explan)
|
||||
static void fc_exch_send_ba_rjt(struct fc_frame *rx_fp,
|
||||
enum fc_ba_rjt_reason reason,
|
||||
enum fc_ba_rjt_explan explan)
|
||||
{
|
||||
struct fc_frame *fp;
|
||||
struct fc_frame_header *rx_fh;
|
||||
|
@@ -179,8 +179,8 @@ EXPORT_SYMBOL(fc_set_rport_loss_tmo);
|
||||
* @flp: FLOGI payload structure
|
||||
* @maxval: upper limit, may be less than what is in the service parameters
|
||||
*/
|
||||
static unsigned int
|
||||
fc_plogi_get_maxframe(struct fc_els_flogi *flp, unsigned int maxval)
|
||||
static unsigned int fc_plogi_get_maxframe(struct fc_els_flogi *flp,
|
||||
unsigned int maxval)
|
||||
{
|
||||
unsigned int mfs;
|
||||
|
||||
|
Reference in New Issue
Block a user