lkml.org 
[lkml]   [2013]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 5/8] ACPI / hotplug / PCI: Unified notify handler for hotplug events
    On Tue, Jul 09, 2013 at 02:19:04AM +0200, Rafael J. Wysocki wrote:
    > Index: linux-pm/drivers/pci/hotplug/acpiphp.h
    > ===================================================================
    > --- linux-pm.orig/drivers/pci/hotplug/acpiphp.h
    > +++ linux-pm/drivers/pci/hotplug/acpiphp.h
    > @@ -137,6 +137,7 @@ struct acpiphp_context {
    > acpi_handle handle;
    > struct acpiphp_func *func;
    > struct acpiphp_bridge *bridge;
    > + bool handler_for_func:1;

    Hmm, should it be just plain:

    bool handler_for_func;

    ? What's the reason using bitfields for bool?

    > };


    \
     
     \ /
      Last update: 2013-07-10 23:31    [W:4.457 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site