8461 fcip: 'tok_buf_size' may be used uninitialized in this function

Review Request #618 — Created July 5, 2017 and submitted — Latest diff uploaded

tsoome
illumos-gate
8461
4955ac3...
general
../../common/io/fibre-channel/ulp/fcip.c: In function 'fcip_init_port':
../../common/io/fibre-channel/ulp/fcip.c:4860:3: error: 'tok_buf_size' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   kmem_free(tokens, tok_buf_size);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


Loading...