10315 acpi: NULL pointer errors

Review Request #1408 — Created Jan. 28, 2019 and submitted

tsoome
illumos-gate
10315
432c7e2...
general
osillumostbl.c: In function 'OslLoadRsdp':
osillumostbl.c:447:19: error: comparison between pointer and integer [-Werror]
  if (Gbl_RsdpBase != NULL) {
                   ^~
osillumostbl.c: In function 'OslListBiosTables':
osillumostbl.c:661:20: error: comparison between pointer and integer [-Werror]
   if (TableAddress == NULL) {
                    ^~
osillumostbl.c: In function 'OslGetBiosTable':
osillumostbl.c:810:21: error: comparison between pointer and integer [-Werror]
    if (TableAddress == NULL) {
                     ^~
osillumostbl.c: In function 'OslMapTable':
osillumostbl.c:890:14: error: comparison between pointer and integer [-Werror]
  if (Address == NULL) {
              ^~
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...