10311 addbadsec: NULL pointer errors

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

Information
Toomas Soome
illumos-gate
10311
a033d8e...
Reviewers
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

  
Robert Mustacchi
Andrew Stormont
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...