10311 addbadsec: NULL pointer errors

Review Request #1404 — Created Jan. 27, 2019 and submitted

tsoome
illumos-gate
10311
a033d8e...
general
ix_altsctr.c: In function 'init_altsctr':
ix_altsctr.c:277:33: error: comparison between pointer and integer [-Werror]
  if (ap->ap_tblp->alts_map_base == NULL) {
                                 ^~
ix_altsctr.c: In function 'gen_alts_ent':
ix_altsctr.c:485:33: error: comparison between pointer and integer [-Werror]
  if (ap->ap_tblp->alts_ent_base == NULL) {
                                 ^~
ix_altsctr.c: In function 'assign_altsctr':
ix_altsctr.c:515:19: error: comparison between pointer and integer [-Werror]
      if (alts_ind == NULL) {
                   ^~
cc1: all warnings being treated as errors


rm
  1. Ship It!
  2. 
      
andy_js
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...