pci back: Fix registration of of filters on subsections of config space.

Found by Jambanuthan K.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-03-09 09:21:31 +00:00
1 parent 81c452f998
commit f064d42ef8
1 file changed
+1 -1
@@ -357,7 +357,7 @@ int pciback_config_add_field_offset(struct pci_dev *dev,
void *tmp;
/* silently ignore duplicate fields */
if (pciback_field_is_dup(dev, field->offset))
if (pciback_field_is_dup(dev, field->offset + offset))
goto out;
cfg_entry = kmalloc(sizeof(*cfg_entry), GFP_KERNEL);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.