• Pavel Machek's avatar
    [PATCH] PCI: clean up state usage in pci core · 67f5ce5c
    Pavel Machek authored
    > Now, care to send patches to fix up all of the new sparse warnings in
    > the drivers/pci/* directory?
    
    This should reduce number of warnings in pci.c. It will still warn on
    comparison (because we are using __bitwise, but in fact we want
    something like "this is unique but arithmetic is still ok"), but that
    probably needs to be fixed in sparse.
    
    Also killed "function does not return anything" warning.
    Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    67f5ce5c
pci.c 21.5 KB