git: kernel - gcc -Os/-O2 warnings pass

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 28 22:38:26 PDT 2010


commit da44240f1a0a5258ca269338fffe31e86c69fb92
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 28 22:37:24 2010 -0700

    kernel - gcc -Os/-O2 warnings pass
    
    * This is just a partial pass on the code to start cleaning up gcc
      warnings at higher optimization levels.

Summary of changes:
 sys/bus/cam/cam_periph.c              |   12 +++---
 sys/bus/cam/scsi/scsi_sa.c            |   18 +++++---
 sys/bus/firewire/firewire.c           |    2 +-
 sys/bus/firewire/fwcrom.c             |    6 +-
 sys/ddb/db_expr.c                     |    4 ++
 sys/dev/disk/advansys/adv_eisa.c      |    2 +-
 sys/dev/disk/advansys/adv_pci.c       |    2 +-
 sys/dev/disk/advansys/advansys.c      |    2 +-
 sys/dev/disk/advansys/adwcam.c        |    6 +-
 sys/dev/disk/aha/aha.c                |    6 +-
 sys/dev/disk/ahb/ahb.c                |    2 +-
 sys/dev/disk/aic7xxx/aic79xx.c        |    8 ++--
 sys/dev/disk/aic7xxx/aic79xx_inline.h |    2 +-
 sys/dev/disk/aic7xxx/aic7xxx.c        |    8 ++--
 sys/dev/disk/buslogic/bt.c            |    6 +-
 sys/dev/disk/buslogic/bt_isa.c        |    2 +-
 sys/dev/disk/isp/isp.c                |    4 +-
 sys/dev/disk/isp/isp_freebsd.c        |    2 +-
 sys/dev/disk/isp/isp_pci.c            |    2 +-
 sys/dev/disk/nata/ata-dma.c           |    4 +-
 sys/dev/disk/nata/ata-raid.c          |   13 +++++-
 sys/dev/netif/an/if_an.c              |   69 +++++++++++++++++----------------
 sys/dev/netif/bge/if_bge.c            |   12 +++---
 sys/dev/netif/msk/if_msk.c            |    4 +-
 sys/dev/netif/nfe/if_nfe.c            |    8 ++--
 sys/dev/pccard/pccbb/pccbb.c          |    6 +-
 sys/dev/raid/amr/amr_pci.c            |    4 +-
 sys/dev/raid/ciss/ciss.c              |    8 ++--
 sys/dev/raid/dpt/dpt_scsi.c           |    4 +-
 sys/dev/raid/ida/ida.c                |    2 +-
 sys/dev/raid/iir/iir.c                |    2 +-
 sys/dev/raid/mlx/mlx.c                |    2 +-
 32 files changed, 126 insertions(+), 108 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/da44240f1a0a5258ca269338fffe31e86c69fb92


-- 
DragonFly BSD source repository





More information about the Commits mailing list