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

Also available in: Atom PDF