10433 bpf: NULL pointer errors

Review Request #1502 — Created Feb. 22, 2019 and submitted

tsoome
illumos-gate
10433
3c9ada3...
general
../../common/io/bpf/bpf.c: In function 'bpf_attachd':
../../common/io/bpf/bpf.c:297:10: error: comparison between pointer and integer [-Werror]
   if (mh != NULL) {
          ^~
../../common/io/bpf/bpf.c: In function 'bpf_ifname':
../../common/io/bpf/bpf.c:1389:16: error: comparison between pointer and integer [-Werror]
  if (d->bd_bif == NULL) {
                ^~
cc1: all warnings being treated as errors


alarcher
  1. Ship It!
  2. 
      
domag02
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...