10489 mr_sas: cast between incompatible function types

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

tsoome
illumos-gate
10489
e4e00a3...
general
../../common/io/mr_sas/mr_sas.c: In function 'mrsas_add_intrs':
../../common/io/mr_sas/mr_sas.c:7355:7: error: cast between incompatible function types from 'uint_t (*)(struct mrsas_instance *)' {aka 'unsigned int (*)(struct mrsas_instance *)'} to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type]
       (ddi_intr_handler_t *)mrsas_isr, (caddr_t)instance,
       ^
cc1: all warnings being treated as errors


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
domag02
  1. 
      
  2. usr/src/uts/common/io/mr_sas/mr_sas.c (Diff revision 1)
     
     
    Space followed by tab.
  3. usr/src/uts/common/io/mr_sas/mr_sas.c (Diff revision 1)
     
     

    Not for this issue.
    0 vs NULL.

  4. usr/src/uts/common/io/mr_sas/mr_sas.c (Diff revision 1)
     
     
    Same.
  5. 
      
tsoome
citrus
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...