10488 nxge: cast between incompatible function types

Review Request #1541 — Created March 2, 2019 and submitted

tsoome
illumos-gate
10488
3d3ba92...
general
../../common/io/nxge/nxge_mac.c:6683:9: error: cast between incompatible function types from 'nxge_status_t (*)()' {aka 'unsigned int (*)()'} to 'void (*)()' [-Werror=cast-function-type]
         (fptrv_t)(nxgep->xcvr.check_link),
         ^
cc1: all warnings being treated as errors


  • 0
  • 0
  • 8
  • 0
  • 8
Description From Last Updated
domag02
  1. 
      
  2. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab.
  3. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab (+ in the next line).
  4. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab.
  5. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab.
  6. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab.
  7. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab.
  8. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab.
  9. usr/src/uts/common/io/nxge/nxge_mac.c (Diff revision 1)
     
     
    Space followed by tab (+ in the next line).
  10. 
      
tsoome
seeemef@mac.com
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...