aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-08-17 21:06:59 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-20 10:48:35 -0700
commitb41d6cf38e27a940d998d989526a9748de1bf028 (patch)
treea2ae90005e000d4f9d16637171ff11dd31a4917a /drivers/pci/quirks.c
parentPCI: remove dynids.use_driver_data (diff)
downloadlinux-dev-b41d6cf38e27a940d998d989526a9748de1bf028.tar.xz
linux-dev-b41d6cf38e27a940d998d989526a9748de1bf028.zip
PCI: Check dynids driver_data value for validity
Only accept dynids whose driver_data value matches one of the driver's pci_driver_id entries. This prevents the user from accidentally passing values the drivers do not expect. Cc: Milton Miller <miltonm@bga.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions