diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-10-25 00:56:54 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-10-25 00:58:32 -0300 |
commit | 3e0bcc5312915db3e993fe0684fd74d0c8624e0a (patch) | |
tree | 9f728629b34b9572e9c34157209db4082c3e1abb /libre/xen/patch-gcc6-etherboot-via-velocity.c.patch | |
parent | a179b2d9427ed31a04a9eff96d28e36b5bbd9bda (diff) | |
download | abslibre-3e0bcc5312915db3e993fe0684fd74d0c8624e0a.tar.gz abslibre-3e0bcc5312915db3e993fe0684fd74d0c8624e0a.tar.bz2 abslibre-3e0bcc5312915db3e993fe0684fd74d0c8624e0a.zip |
mv xen to [libre] and mv xen-docs to [pcr]
Diffstat (limited to 'libre/xen/patch-gcc6-etherboot-via-velocity.c.patch')
-rw-r--r-- | libre/xen/patch-gcc6-etherboot-via-velocity.c.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/xen/patch-gcc6-etherboot-via-velocity.c.patch b/libre/xen/patch-gcc6-etherboot-via-velocity.c.patch new file mode 100644 index 000000000..36a3d8115 --- /dev/null +++ b/libre/xen/patch-gcc6-etherboot-via-velocity.c.patch @@ -0,0 +1,12 @@ +diff -aur a/src/drivers/net/via-velocity.c b/src/drivers/net/via-velocity.c +--- a/src/drivers/net/via-velocity.c 2016-05-12 19:14:33.231788641 +1000 ++++ b/src/drivers/net/via-velocity.c 2016-05-12 19:17:08.235494746 +1000 +@@ -69,7 +69,7 @@ + + /* NIC specific static variables go here */ + #define VELOCITY_PARAM(N,D) \ +- static const int N[MAX_UNITS]=OPTION_DEFAULT; ++ static __attribute__ ((unused)) const int N[MAX_UNITS]=OPTION_DEFAULT; + /* MODULE_PARM(N, "1-" __MODULE_STRING(MAX_UNITS) "i");\ + MODULE_PARM_DESC(N, D); */ + |