11595 ufs: cast between incompatible function types

Review Request #2248 - Created Aug. 21, 2019 and submitted

Information
Toomas Soome
illumos-gate
11595
92d13f3...
Reviewers
general
../../common/fs/ufs/ufs_vnops.c: In function 'ufs_putapage':
../../common/fs/ufs/ufs_vnops.c:5522:17: error: cast between incompatible function types from 'void (*)(buf_t *)' {aka 'void (*)(struct buf *)'} to 'int (*)()' [-Werror=cast-function-type]
  bp->b_iodone = (int (*)())ufs_iodone;
                 ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Yuri Pankov
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...