10315 acpi: NULL pointer errors

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

Information
Toomas Soome
illumos-gate
10315
432c7e2...
Reviewers
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

  
Andrew Stormont
Robert Mustacchi
Gergő Mihály Doma
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...