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 #1

Updated by Rich Lowe over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

Resolved in r13602 commit:be505a6a00b0

Actions

Also available in: Atom PDF