summaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorRajat Jain <rajatxjain@gmail.com>2014-02-18 18:53:19 -0800
committerBjorn Helgaas <bhelgaas@google.com>2014-02-19 15:04:14 -0700
commit2b3940b60626ac4932fa048cc74f2a872cc4bfb4 (patch)
tree290a5e787a7946d6b685bcf98f3017ffe970db01 /lib/string_helpers.c
parent50277c8b06d56f2345e1a0693db46db29fc6d063 (diff)
PCI: pciehp: Remove a non-existent card, regardless of "surprise" capability
In case a card is physically yanked out, it should immediately be removed, regardless of the "surprise" capability bit. Thus: - Always handle the physical removal - regardless of the "surprise" bit. - Don't use "surprise" capability when making decisions about enabling presence detect notifications. - Reword the comments to indicate the intent. Signed-off-by: Rajat Jain <rajatxjain@gmail.com> Signed-off-by: Rajat Jain <rajatjain@juniper.net> Signed-off-by: Guenter Roeck <groeck@juniper.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions