Project

General

Profile

Actions

Bug #13394

closed

fhc: case value '4294967295' not in enumerated type

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build error on SPARC:

    ../../../sun4u/sunfire/io/fhc_bd.c: In function 'fhc_bdlist_prime':
    ../../../sun4u/sunfire/io/fhc_bd.c:771:4: error: case value '4294967295' not in
    enumerated type 'enum board_type' [-Werror=switch]
        case -1:
        ^~~~
    cc1: all warnings being treated as errors

Add EMPTY_BOARD = -1, to board types.

Testing done: build.

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 1118
Actions #2

Updated by Electric Monk over 1 year ago

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

git commit c6a28d7650029501a356f7b75b2a10a5c4430cef

commit  c6a28d7650029501a356f7b75b2a10a5c4430cef
Author: Toomas Soome <tsoome@me.com>
Date:   2020-12-29T07:09:45.000Z

    13394 fhc: case value '4294967295' not in enumerated type
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF