summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgb3i/cxgb3i_ddp.h
diff options
context:
space:
mode:
authorKaren Xie2009-03-05 21:46:08 +0100
committerJames Bottomley2009-03-13 21:30:34 +0100
commit154229a33e5698cd89910c9762201bc7edd446b4 (patch)
tree88e28ac2b184bfa2afa4abcb1f33523b809f71f9 /drivers/scsi/cxgb3i/cxgb3i_ddp.h
parent[SCSI] libiscsi: fix possbile null ptr session command cleanup (diff)
downloadkernel-qcow2-linux-154229a33e5698cd89910c9762201bc7edd446b4.tar.gz
kernel-qcow2-linux-154229a33e5698cd89910c9762201bc7edd446b4.tar.xz
kernel-qcow2-linux-154229a33e5698cd89910c9762201bc7edd446b4.zip
[SCSI] cxgb3i: fix function descriptions
Limit function descriptions to be one line. Signed-off-by: Karen Xie <kxie@chelsio.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/cxgb3i/cxgb3i_ddp.h')
-rw-r--r--drivers/scsi/cxgb3i/cxgb3i_ddp.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_ddp.h b/drivers/scsi/cxgb3i/cxgb3i_ddp.h
index 3faae7831c83..75a63a81e873 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_ddp.h
+++ b/drivers/scsi/cxgb3i/cxgb3i_ddp.h
@@ -185,12 +185,11 @@ static inline int cxgb3i_is_ddp_tag(struct cxgb3i_tag_format *tformat, u32 tag)
}
/**
- * cxgb3i_sw_tag_usable - check if a given s/w tag has enough bits left for
- * the reserved/hw bits
+ * cxgb3i_sw_tag_usable - check if s/w tag has enough bits left for hw bits
* @tformat: tag format information
* @sw_tag: s/w tag to be checked
*
- * return true if the tag is a ddp tag, false otherwise.
+ * return true if the tag can be used for hw ddp tag, false otherwise.
*/
static inline int cxgb3i_sw_tag_usable(struct cxgb3i_tag_format *tformat,
u32 sw_tag)
@@ -222,8 +221,7 @@ static inline u32 cxgb3i_set_non_ddp_tag(struct cxgb3i_tag_format *tformat,
}
/**
- * cxgb3i_ddp_tag_base - shift the s/w tag bits so that reserved bits are not
- * used.
+ * cxgb3i_ddp_tag_base - shift s/w tag bits so that reserved bits are not used
* @tformat: tag format information
* @sw_tag: s/w tag to be checked
*/