Changeset d1582b50 in mainline for uspace/drv/block/ahci/ahci.c


Ignore:
Timestamp:
2020-12-14T20:41:53Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02fe42e
Parents:
1382446
git-author:
Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
Message:

Fix spacing in single-line comments using latest ccheck

This found incorrectly formatted section comments (with blocks of
asterisks or dashes). I strongly believe against using section comments
but I am not simply removing them since that would probably be
controversial.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/ahci/ahci.c

    r1382446 rd1582b50  
    131131static int sata_devices_count = 0;
    132132
    133 /*----------------------------------------------------------------------------*/
    134 /*-- AHCI Interface ----------------------------------------------------------*/
    135 /*----------------------------------------------------------------------------*/
     133/*
     134 * AHCI Interface
     135 */
    136136
    137137static ahci_iface_t ahci_interface = {
     
    298298}
    299299
    300 /*----------------------------------------------------------------------------*/
    301 /*-- AHCI Commands -----------------------------------------------------------*/
    302 /*----------------------------------------------------------------------------*/
     300/*
     301 * AHCI Commands
     302 */
    303303
    304304/** Wait for interrupt event.
     
    842842}
    843843
    844 /*----------------------------------------------------------------------------*/
    845 /*-- Interrupts handling -----------------------------------------------------*/
    846 /*----------------------------------------------------------------------------*/
     844/*
     845 * Interrupts handling
     846 */
    847847
    848848static irq_pio_range_t ahci_ranges[] = {
     
    919919}
    920920
    921 /*----------------------------------------------------------------------------*/
    922 /*-- AHCI and SATA device creating and initializing routines -----------------*/
    923 /*----------------------------------------------------------------------------*/
     921/*
     922 * AHCI and SATA device creating and initializing routines
     923 */
    924924
    925925/** Allocate SATA device structure with buffers for hardware.
     
    12731273}
    12741274
    1275 /*----------------------------------------------------------------------------*/
    1276 /*-- Helpers and utilities ---------------------------------------------------*/
    1277 /*----------------------------------------------------------------------------*/
     1275/*
     1276 * Helpers and utilities
     1277 */
    12781278
    12791279/** Convert SATA model name
     
    13131313}
    13141314
    1315 /*----------------------------------------------------------------------------*/
    1316 /*-- AHCI Main routine -------------------------------------------------------*/
    1317 /*----------------------------------------------------------------------------*/
     1315/*
     1316 * AHCI Main routine
     1317 */
    13181318
    13191319int main(int argc, char *argv[])
Note: See TracChangeset for help on using the changeset viewer.