git: kernel - Cleanup gcc warnings

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 7 00:09:45 PDT 2016


commit 57e093775ac3e8c0fd55a925ae8ba19a1431956e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 6 21:02:46 2016 -0700

    kernel - Cleanup gcc warnings
    
    * Cleanup gcc warnings at higher optimization levels.  This will allow
      us to build kernels -O2 or -O3.

Summary of changes:
 sys/bus/cam/scsi/scsi_ses.c                                  | 1 +
 sys/bus/smbus/amdsmb/amdsmb.c                                | 3 ++-
 sys/bus/u4b/wlan/if_run.c                                    | 3 ++-
 sys/bus/u4b/wlan/if_urtwn.c                                  | 1 +
 sys/contrib/dev/acpica/source/components/utilities/utresrc.c | 4 ++++
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300_paprd.c            | 1 +
 sys/cpu/x86_64/misc/db_disasm.c                              | 4 ++--
 sys/dev/acpica/acpi_hp/acpi_hp.c                             | 1 +
 sys/dev/disk/isp/ispmbox.h                                   | 4 ++--
 sys/dev/disk/mpt/mpt.c                                       | 4 ++++
 sys/dev/disk/nata/ata-raid.c                                 | 2 +-
 sys/dev/drm/drm_gem.c                                        | 1 +
 sys/dev/drm/drm_irq.c                                        | 2 ++
 sys/dev/drm/i915/dvo_ch7xxx.c                                | 1 +
 sys/dev/drm/i915/dvo_ivch.c                                  | 1 +
 sys/dev/drm/i915/dvo_sil164.c                                | 1 +
 sys/dev/drm/i915/dvo_tfp410.c                                | 1 +
 sys/dev/drm/i915/intel_ddi.c                                 | 3 +++
 sys/dev/drm/i915/intel_display.c                             | 1 +
 sys/dev/drm/radeon/atom.c                                    | 4 ++++
 sys/dev/drm/radeon/evergreen.c                               | 1 +
 sys/dev/drm/radeon/radeon_i2c.c                              | 1 +
 sys/dev/drm/radeon/rs690.c                                   | 1 +
 sys/dev/drm/radeon/rv515.c                                   | 1 +
 sys/dev/drm/radeon/rv6xx_dpm.c                               | 6 ++++++
 sys/dev/netif/ath/ath_hal/ar5210/ar5210_beacon.c             | 1 +
 sys/dev/netif/ath/ath_hal/ar5210/ar5210_reset.c              | 1 +
 sys/dev/netif/ath/ath_hal/ar5211/ar5211_beacon.c             | 1 +
 sys/dev/netif/ath/ath_hal/ar5211/ar5211_reset.c              | 5 +++++
 sys/dev/netif/ath/ath_hal/ar5212/ar2413.c                    | 3 +++
 sys/dev/netif/ath/ath_hal/ar5212/ar2425.c                    | 3 +++
 sys/dev/netif/ath/ath_hal/ar5212/ar5111.c                    | 2 ++
 sys/dev/netif/ath/ath_hal/ar5212/ar5212_beacon.c             | 1 +
 sys/dev/netif/ath/ath_hal/ar5212/ar5212_reset.c              | 3 +++
 sys/dev/netif/ath/ath_hal/ar5212/ar5413.c                    | 3 +++
 sys/dev/netif/ath/ath_hal/ar5416/ar5416_beacon.c             | 1 +
 sys/dev/netif/ig_hal/e1000_ich8lan.c                         | 3 +++
 sys/dev/netif/ig_hal/e1000_phy.c                             | 3 +++
 sys/dev/netif/mxge/if_mxge.c                                 | 5 +++++
 sys/dev/netif/xl/if_xl.c                                     | 1 +
 sys/dev/raid/aac/aac.c                                       | 2 ++
 sys/dev/raid/amr/amr.c                                       | 1 +
 sys/dev/raid/asr/i2omsg.h                                    | 3 ++-
 sys/dev/raid/ciss/ciss.c                                     | 1 +
 sys/dev/raid/mly/mly.c                                       | 4 +++-
 sys/dev/raid/mps/mps_mapping.c                               | 2 ++
 sys/dev/raid/vinum/vinumrevive.c                             | 1 +
 sys/dev/sound/pci/t4dwave.c                                  | 5 +++++
 sys/dev/sound/pcm/dsp.c                                      | 5 ++++-
 sys/kern/kern_descrip.c                                      | 1 +
 sys/kern/kern_dmsg.c                                         | 2 ++
 sys/kern/link_elf.c                                          | 2 ++
 sys/kern/subr_disk.c                                         | 5 +++++
 sys/kern/uipc_syscalls.c                                     | 1 +
 sys/net/pf/pf.c                                              | 3 +++
 sys/net/sppp/if_spppsubr.c                                   | 2 ++
 sys/netinet/in_pcb.c                                         | 2 ++
 sys/platform/pc64/vmm/vmm_utils.c                            | 1 +
 sys/vfs/hammer/hammer_volume.c                               | 3 +++
 sys/vfs/hammer2/hammer2_chain.c                              | 1 +
 sys/vfs/nfs/nfs_vfsops.c                                     | 1 +
 sys/vfs/ntfs/ntfs_subr.c                                     | 1 +
 sys/vfs/ufs/ffs_softdep.c                                    | 1 +
 63 files changed, 129 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/57e093775ac3e8c0fd55a925ae8ba19a1431956e


-- 
DragonFly BSD source repository


More information about the Commits mailing list