freebsd-dev/sys/dev/sfxge/common
Andrew Rybchenko 460cb5684c sfxge: add prefast annotation to common code return types
Using a typedef for common code return types (rather than "int")
allows the Prefast static analyser to understand when a function
has been successful (and thus when its postconditions must hold).

This greatly reduces then number of false positives reported by
prefast for error paths in common code functions.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
2015-11-29 05:42:49 +00:00
..
ef10_tlv_layout.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efsys.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_bootcfg.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_check.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_crc32.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_ev.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_filter.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_hash.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_impl.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_intr.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_mac.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_mcdi.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_mcdi.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_mon.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_nic.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_nvram.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_phy_ids.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_phy.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_port.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_regs_ef10.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs_mcdi.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs_pci.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_rx.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_sram.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_tx.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_types.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_vpd.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx_wol.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
efx.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_ev.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_filter.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_impl.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_intr.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_mac.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_mcdi.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_nic.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_nvram.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_phy.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_rx.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_sram.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_tx.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
hunt_vpd.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
mcdi_mon.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
mcdi_mon.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_flash.h sfxge: do not use unnamed union in siena_mc_combo_rom_hdr_t 2015-11-27 15:54:36 +00:00
siena_impl.h sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_mac.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_mcdi.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_nic.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_nvram.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_phy.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_sram.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00
siena_vpd.c sfxge: add prefast annotation to common code return types 2015-11-29 05:42:49 +00:00