]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.25/patches.xen/sfc-resource-driver
Updated xen patches taken from suse.
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.xen / sfc-resource-driver
similarity index 99%
rename from src/patches/60006_sfc-resource-driver.patch1
rename to src/patches/suse-2.6.27.25/patches.xen/sfc-resource-driver
index 29dac94b718d43f03f2696aff512b58c0baeaf31..a07bfd0b845e485d59802693acbc992dad196f09 100644 (file)
@@ -7750,7 +7750,7 @@ Index: head-2008-07-15/drivers/net/sfc/sfc_resource/efx_vi_shm.c
 +            struct filter_resource_t **fh_out)
 +{
 +      struct efx_vi_state *efx_state = vih;
-+      struct filter_resource *frs;
++      struct filter_resource *uninitialized_var(frs);
 +      int rc;
 +
 +#if EFX_VI_STATIC_FILTERS
@@ -10380,7 +10380,7 @@ Index: head-2008-07-15/drivers/net/sfc/sfc_resource/falcon.c
 +filter_spec_cache_entry(struct efhw_nic *nic, int filter_idx)
 +{
 +      EFHW_ASSERT(nic->filter_spec_cache);
-+      return &nic->filter_spec_cache[FALCON_FILTER_TBL_NUM + filter_idx];
++      return &nic->filter_spec_cache[filter_idx];
 +}
 +#endif
 +