10879 i86pc/i86xpv: assignment makes integer from pointer without a cast

Review Request #1813 - Created April 28, 2019 and submitted

Information
Toomas Soome
illumos-gate
10879
cb889b3...
Reviewers
general
../../i86pc/os/mp_startup.c: In function 'mp_cpu_unconfigure_common':
../../i86pc/os/mp_startup.c:552:18: error: assignment makes integer from pointer
 without a cast [-Werror=int-conversion]
   ttc->ttc_first = NULL;
                  ^
../../i86pc/os/trap.c: In function 'dump_ttrace':
../../i86pc/os/trap.c:2091:22: error: comparison between pointer and integer [-W
error]
   if (ttc->ttc_first == NULL)
                      ^~
../../i86pc/os/trap.c:2107:16: error: comparison between pointer and integer [-W
error]
    if (current == NULL)
                ^~
cc1: all warnings being treated as errors

  
John Levon
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...