direct-io.hg

changeset 14308:a67d3fbd4577

pci back: Fix registration of of filters on subsections of config space.
Found by Jambanuthan K.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Mar 09 09:21:31 2007 +0000 (2007-03-09)
parents 5dd14bfbe956
children 7ab04fa25d52 c9dba7b35393
files linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c	Fri Mar 09 02:32:52 2007 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/pciback/conf_space.c	Fri Mar 09 09:21:31 2007 +0000
     1.3 @@ -357,7 +357,7 @@ int pciback_config_add_field_offset(stru
     1.4  	void *tmp;
     1.5  
     1.6  	/* silently ignore duplicate fields */
     1.7 -	if (pciback_field_is_dup(dev, field->offset))
     1.8 +	if (pciback_field_is_dup(dev, field->offset + offset))
     1.9  		goto out;
    1.10  
    1.11  	cfg_entry = kmalloc(sizeof(*cfg_entry), GFP_KERNEL);