Project

General

Profile

Actions

Bug #12414

open

dld: variable may be used uninitialized

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

Status:
In Progress
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Build errors with gcc 9:

    ../../common/io/dld/dld_proto.c: In function 'proto_setphysaddr_req':
    ../../common/io/dld/dld_proto.c:962:2: error: 'dl_err' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      962 |  dlerrorack(q, mp, DL_SET_PHYS_ADDR_REQ, dl_err, (t_uscalar_t)err);
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 3 years ago

  • Gerrit CR set to 433
Actions

Also available in: Atom PDF