10314 nvmeadm: NULL pointer errors

Review Request #1407 — Created Jan. 28, 2019 and submitted — Latest diff uploaded

tsoome
illumos-gate
10314
cad0943...
general
nvmeadm_dev.c: In function 'nvme_ioctl':
nvmeadm_dev.c:44:53: error: comparison between pointer and integer [-Werror]
   if ((nioc.n_buf = (uintptr_t)calloc(*bufsize, 1)) == NULL)
                                                     ^~
cc1: all warnings being treated as errors


Loading...