From: Jean Delvare Date: Sun, 17 Aug 2008 19:06:59 +0000 (+0200) Subject: PCI: Check dynids driver_data value for validity X-Git-Tag: v2.6.28-rc1~77^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b41d6cf38e27a940d998d989526a9748de1bf028;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Jean Delvare Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed