diff options
author | Jing Huang <huangj@brocade.com> | 2010-10-18 20:17:23 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-25 17:28:09 -0400 |
commit | 5fbe25c7a664601666895e8f95eaa59bd9741392 (patch) | |
tree | f2d452938ba5ba924d0e8cc4f173f963df13018e /drivers/scsi/bfa/bfad.c | |
parent | acdc79a60cb3cbbc9f07bb5032d890e9cf94f0ff (diff) |
[SCSI] bfa: fix comments for c files
This patch addresses the comments from Randy Dunlap (Randy.Dunlap@oracle.com)
regarding comment blocks that begining with "/**". bfa driver comments
currently do not follow kernel-doc convention, we hence replace all
/** with /* and **/ with */.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfad.c')
-rw-r--r-- | drivers/scsi/bfa/bfad.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index 79f8b86e30e3..1f938974b848 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bfa/bfad.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * General Public License for more details. | 15 | * General Public License for more details. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | /** | 18 | /* |
19 | * bfad.c Linux driver PCI interface module. | 19 | * bfad.c Linux driver PCI interface module. |
20 | */ | 20 | */ |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
@@ -151,7 +151,7 @@ bfad_sm_failed(struct bfad_s *bfad, enum bfad_sm_event event); | |||
151 | static void | 151 | static void |
152 | bfad_sm_fcs_exit(struct bfad_s *bfad, enum bfad_sm_event event); | 152 | bfad_sm_fcs_exit(struct bfad_s *bfad, enum bfad_sm_event event); |
153 | 153 | ||
154 | /** | 154 | /* |
155 | * Beginning state for the driver instance, awaiting the pci_probe event | 155 | * Beginning state for the driver instance, awaiting the pci_probe event |
156 | */ | 156 | */ |
157 | static void | 157 | static void |
@@ -181,7 +181,7 @@ bfad_sm_uninit(struct bfad_s *bfad, enum bfad_sm_event event) | |||
181 | } | 181 | } |
182 | } | 182 | } |
183 | 183 | ||
184 | /** | 184 | /* |
185 | * Driver Instance is created, awaiting event INIT to initialize the bfad | 185 | * Driver Instance is created, awaiting event INIT to initialize the bfad |
186 | */ | 186 | */ |
187 | static void | 187 | static void |
@@ -364,7 +364,7 @@ bfad_sm_stopping(struct bfad_s *bfad, enum bfad_sm_event event) | |||
364 | } | 364 | } |
365 | } | 365 | } |
366 | 366 | ||
367 | /** | 367 | /* |
368 | * BFA callbacks | 368 | * BFA callbacks |
369 | */ | 369 | */ |
370 | void | 370 | void |
@@ -376,7 +376,7 @@ bfad_hcb_comp(void *arg, bfa_status_t status) | |||
376 | complete(&fcomp->comp); | 376 | complete(&fcomp->comp); |
377 | } | 377 | } |
378 | 378 | ||
379 | /** | 379 | /* |
380 | * bfa_init callback | 380 | * bfa_init callback |
381 | */ | 381 | */ |
382 | void | 382 | void |
@@ -401,7 +401,7 @@ bfa_cb_init(void *drv, bfa_status_t init_status) | |||
401 | complete(&bfad->comp); | 401 | complete(&bfad->comp); |
402 | } | 402 | } |
403 | 403 | ||
404 | /** | 404 | /* |
405 | * BFA_FCS callbacks | 405 | * BFA_FCS callbacks |
406 | */ | 406 | */ |
407 | struct bfad_port_s * | 407 | struct bfad_port_s * |
@@ -457,7 +457,7 @@ bfa_fcb_lport_delete(struct bfad_s *bfad, enum bfa_lport_role roles, | |||
457 | } | 457 | } |
458 | } | 458 | } |
459 | 459 | ||
460 | /** | 460 | /* |
461 | * FCS RPORT alloc callback, after successful PLOGI by FCS | 461 | * FCS RPORT alloc callback, after successful PLOGI by FCS |
462 | */ | 462 | */ |
463 | bfa_status_t | 463 | bfa_status_t |
@@ -478,7 +478,7 @@ ext: | |||
478 | return rc; | 478 | return rc; |
479 | } | 479 | } |
480 | 480 | ||
481 | /** | 481 | /* |
482 | * FCS PBC VPORT Create | 482 | * FCS PBC VPORT Create |
483 | */ | 483 | */ |
484 | void | 484 | void |
@@ -663,7 +663,7 @@ ext: | |||
663 | return rc; | 663 | return rc; |
664 | } | 664 | } |
665 | 665 | ||
666 | /** | 666 | /* |
667 | * Create a vport under a vf. | 667 | * Create a vport under a vf. |
668 | */ | 668 | */ |
669 | bfa_status_t | 669 | bfa_status_t |
@@ -1140,7 +1140,7 @@ bfad_worker(void *ptr) | |||
1140 | return 0; | 1140 | return 0; |
1141 | } | 1141 | } |
1142 | 1142 | ||
1143 | /** | 1143 | /* |
1144 | * BFA driver interrupt functions | 1144 | * BFA driver interrupt functions |
1145 | */ | 1145 | */ |
1146 | irqreturn_t | 1146 | irqreturn_t |
@@ -1199,7 +1199,7 @@ bfad_msix(int irq, void *dev_id) | |||
1199 | return IRQ_HANDLED; | 1199 | return IRQ_HANDLED; |
1200 | } | 1200 | } |
1201 | 1201 | ||
1202 | /** | 1202 | /* |
1203 | * Initialize the MSIX entry table. | 1203 | * Initialize the MSIX entry table. |
1204 | */ | 1204 | */ |
1205 | static void | 1205 | static void |
@@ -1252,7 +1252,7 @@ bfad_install_msix_handler(struct bfad_s *bfad) | |||
1252 | return 0; | 1252 | return 0; |
1253 | } | 1253 | } |
1254 | 1254 | ||
1255 | /** | 1255 | /* |
1256 | * Setup MSIX based interrupt. | 1256 | * Setup MSIX based interrupt. |
1257 | */ | 1257 | */ |
1258 | int | 1258 | int |
@@ -1333,7 +1333,7 @@ bfad_remove_intr(struct bfad_s *bfad) | |||
1333 | } | 1333 | } |
1334 | } | 1334 | } |
1335 | 1335 | ||
1336 | /** | 1336 | /* |
1337 | * PCI probe entry. | 1337 | * PCI probe entry. |
1338 | */ | 1338 | */ |
1339 | int | 1339 | int |
@@ -1419,7 +1419,7 @@ out: | |||
1419 | return error; | 1419 | return error; |
1420 | } | 1420 | } |
1421 | 1421 | ||
1422 | /** | 1422 | /* |
1423 | * PCI remove entry. | 1423 | * PCI remove entry. |
1424 | */ | 1424 | */ |
1425 | void | 1425 | void |
@@ -1500,7 +1500,7 @@ static struct pci_driver bfad_pci_driver = { | |||
1500 | .remove = __devexit_p(bfad_pci_remove), | 1500 | .remove = __devexit_p(bfad_pci_remove), |
1501 | }; | 1501 | }; |
1502 | 1502 | ||
1503 | /** | 1503 | /* |
1504 | * Driver module init. | 1504 | * Driver module init. |
1505 | */ | 1505 | */ |
1506 | static int __init | 1506 | static int __init |
@@ -1540,7 +1540,7 @@ ext: | |||
1540 | return error; | 1540 | return error; |
1541 | } | 1541 | } |
1542 | 1542 | ||
1543 | /** | 1543 | /* |
1544 | * Driver module exit. | 1544 | * Driver module exit. |
1545 | */ | 1545 | */ |
1546 | static void __exit | 1546 | static void __exit |