10730 dprov: NULL pointer errors

Review Request #1696 - Created April 11, 2019 and submitted

Information
Toomas Soome
illumos-gate
10730
8b0beba...
Reviewers
general
../../common/crypto/io/dprov.c: In function 'dprov_attach':
../../common/crypto/io/dprov.c:1782:24: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  softc->ds_prov_handle = NULL;
                        ^
../../common/crypto/io/dprov.c: In function 'dprov_detach':
../../common/crypto/io/dprov.c:1879:28: error: comparison between pointer and integer [-Werror]
  if (softc->ds_prov_handle != NULL)
                            ^~
cc1: all warnings being treated as errors

  
Sebastian Wiedenroth
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...