Actions
Bug #10777
closedpci_autoconfig: NULL pointer errors
Start date:
2019-04-14
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
NULL pointer errors:
../../intel/io/pci/pci_boot.c: In function 'fix_ppb_res': ../../intel/io/pci/pci_boot.c:968:30: error: comparison between pointer and integer [-Werror] subbus + 1, range, 1) != NULL) ^~ ../../intel/io/pci/pci_boot.c: In function 'add_reg_props': ../../intel/io/pci/pci_boot.c:2603:14: error: comparison between pointer and integer [-Werror] if (base != NULL) { ^~ ../../intel/io/pci/pci_boot.c:2620:35: error: comparison between pointer and integer [-Werror] } else if ((*mem_avail && base == NULL) || ^~ ../../intel/io/pci/pci_boot.c:2629:15: error: comparison between pointer and integer [-Werror] if (base != NULL) { ^~ ../../intel/io/pci/pci_boot.c:2641:14: error: comparison between pointer and integer [-Werror] if (base == NULL) { ^~ ../../intel/io/pci/pci_boot.c:2644:15: error: comparison between pointer and integer [-Werror] if (base != NULL) { ^~ ../../intel/io/pci/pci_boot.c:2651:14: error: comparison between pointer and integer [-Werror] if (base != NULL) { ^~ ../../intel/io/pci/pci_boot.c:2703:12: error: comparison between pointer and integer [-Werror] if (base != NULL) { ^~ cc1: all warnings being treated as errors
Actions