@@ -888,7 +888,8 @@ static void sas_port_delete_link(struct sas_port *port,
888
888
sysfs_remove_link (& phy -> dev .kobj , "port" );
889
889
}
890
890
891
- /** sas_port_alloc - allocate and initialize a SAS port structure
891
+ /**
892
+ * sas_port_alloc - allocate and initialize a SAS port structure
892
893
*
893
894
* @parent: parent device
894
895
* @port_id: port number
@@ -897,7 +898,7 @@ static void sas_port_delete_link(struct sas_port *port,
897
898
* below the device specified by @parent which must be either a Scsi_Host
898
899
* or a sas_expander_device.
899
900
*
900
- * Returns %NULL on error
901
+ * Returns: %NULL on error
901
902
*/
902
903
struct sas_port * sas_port_alloc (struct device * parent , int port_id )
903
904
{
@@ -932,7 +933,8 @@ struct sas_port *sas_port_alloc(struct device *parent, int port_id)
932
933
}
933
934
EXPORT_SYMBOL (sas_port_alloc );
934
935
935
- /** sas_port_alloc_num - allocate and initialize a SAS port structure
936
+ /**
937
+ * sas_port_alloc_num - allocate and initialize a SAS port structure
936
938
*
937
939
* @parent: parent device
938
940
*
@@ -942,7 +944,7 @@ EXPORT_SYMBOL(sas_port_alloc);
942
944
* the device tree below the device specified by @parent which must be
943
945
* either a Scsi_Host or a sas_expander_device.
944
946
*
945
- * Returns %NULL on error
947
+ * Returns: %NULL on error
946
948
*/
947
949
struct sas_port * sas_port_alloc_num (struct device * parent )
948
950
{
0 commit comments