diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 4ac9b91fc..8d71b7a9d 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -185,7 +185,7 @@ static struct scst_tgt_template srpt_template; static void srpt_unregister_mad_agent(struct srpt_device *sdev); #ifdef CONFIG_SCST_PROC static void srpt_unregister_procfs_entry(struct scst_tgt_template *tgt); -#endif /*CONFIG_SCST_PROC*/ +#endif /* CONFIG_SCST_PROC */ static void srpt_unmap_sg_to_ib_sge(struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx); static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch); @@ -2361,7 +2361,7 @@ static bool srpt_is_target_enabled(struct scst_tgt *scst_tgt) return srpt_tgt && srpt_tgt->enabled; } -#endif +#endif /* CONFIG_SCST_PROC */ /** * srpt_cm_req_recv() - Process the event IB_CM_REQ_RECEIVED. @@ -3893,7 +3893,7 @@ static const struct attribute *srpt_sess_attrs[] = { &srpt_ch_state_attr.attr, NULL }; -#endif +#endif /* CONFIG_SCST_PROC */ /* SCST target template for the SRP target implementation. */ static struct scst_tgt_template srpt_template = { @@ -3943,7 +3943,7 @@ static struct scst_proc_data srpt_log_proc_data = { }; #endif -#endif /*CONFIG_SCST_PROC*/ +#endif /* CONFIG_SCST_PROC */ /* Note: the caller must have zero-initialized *@srpt_tgt. */ static void srpt_init_tgt(struct srpt_tgt *srpt_tgt) @@ -4274,7 +4274,7 @@ static void srpt_unregister_procfs_entry(struct scst_tgt_template *tgt) #endif } -#endif /*CONFIG_SCST_PROC*/ +#endif /* CONFIG_SCST_PROC */ /** * srpt_init_module() - Kernel module initialization. @@ -4382,14 +4382,14 @@ static int __init srpt_init_module(void) PRINT_ERROR("couldn't register procfs entry"); goto out_rdma_cm; } -#endif /*CONFIG_SCST_PROC*/ +#endif /* CONFIG_SCST_PROC */ return 0; #ifdef CONFIG_SCST_PROC out_rdma_cm: rdma_destroy_id(rdma_cm_id); -#endif /*CONFIG_SCST_PROC*/ +#endif /* CONFIG_SCST_PROC */ out_unregister_client: ib_unregister_client(&srpt_client); out_unregister_target: @@ -4407,7 +4407,7 @@ static void __exit srpt_cleanup_module(void) ib_unregister_client(&srpt_client); #ifdef CONFIG_SCST_PROC srpt_unregister_procfs_entry(&srpt_template); -#endif /*CONFIG_SCST_PROC*/ +#endif /* CONFIG_SCST_PROC */ scst_unregister_target_template(&srpt_template); TRACE_EXIT();