10373 vm_anon: cast between incompatible function types

Review Request #1448 — Created Feb. 11, 2019 and submitted

tsoome
illumos-gate
10373
8e715a0...
general
../../common/vm/vm_anon.c:1276:10: error: cast between incompatible function types from 'void (*)(struct vnode *, page_t *, int,  int,  struct cred *, caller_context_t *)' {aka 'void (*)(struct vnode *, struct page *, int,  int,  struct cred *, struct caller_context *)'} to 'int (*)()' [-Werror=cast-function-type]
          (fs_generic_func_p)fs_dispose))
          ^
cc1: all warnings being treated as errors


  • 0
  • 0
  • 4
  • 0
  • 4
Description From Last Updated
andy_js
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. Ship It!
  2. 
      
domag02
  1. Space followed-by tab nits.
  2. usr/src/uts/common/vm/vm_anon.c (Diff revision 1)
     
     
    Space followed by tab.
  3. usr/src/uts/common/vm/vm_anon.c (Diff revision 1)
     
     
    Space followed by tab (+ in the next 2 lines).
  4. usr/src/uts/common/vm/vm_anon.c (Diff revision 1)
     
     

    Space followed by tab.

  5. usr/src/uts/common/vm/vm_anon.c (Diff revision 1)
     
     
    Space followed by tab.
  6. 
      
tsoome
andy_js
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...