Project

General

Profile

Actions

Bug #1907

closed

Bug #1450: Illumos should be buildable with GCC4

schpc switches for impossible bitfield value

Added by Rich Lowe almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2011-12-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

in schpc pci_getslot_t->slot_condition is a 2-bit field, however in schpc_test we switch for PCIMSG_SLOTCOND_NOHOTPLUG, which has the value 4, which is 3 bits, so the code is dead.

Actions

Also available in: Atom PDF