10418 chxge: cast between incompatible function types

Review Request #1487 — Created Feb. 19, 2019 and submitted

tsoome
illumos-gate
10418
4bca61d...
general
../../common/io/chxge/com/my3126.c: In function 'my3126_phy_create':
../../common/io/chxge/com/my3126.c:209:5: error: cast between incompatible function types from 'int (*)(struct cphy *)' to 'void (*)(void *)' [-Werror=cast-function-type]
     (void (*)(void *))my3126_interrupt_handler,
     ^
cc1: all warnings being treated as errors


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
andy_js
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. 
      
  2. Is the red-highlighted whitespace a style nit? Otherwise LGTM.

  3. 
      
citrus
  1. Ship It!
  2. 
      
domag02
  1. 
      
  2. Please, remove this tab.
  3. 
      
tsoome
domag02
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...