Project

General

Profile

Bug #8462

idmap: door_retried may be used uninitialized

Added by Toomas Soome over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2017-07-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build error from gcc 6:

../../common/idmap/idmap_kapi.c: In function 'kidmap_call_door':
../../common/idmap/idmap_kapi.c:218:6: error: 'door_retried' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (door_retried)
      ^
cc1: all warnings being treated as errors

#1

Updated by Electric Monk over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 6c6416a920fdc28f97768efc3ce10124f1cb30f4

commit  6c6416a920fdc28f97768efc3ce10124f1cb30f4
Author: Toomas Soome <tsoome@me.com>
Date:   2017-07-13T04:44:21.000Z

    8462 idmap: door_retried may be used uninitialized
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF