summaryrefslogtreecommitdiff
path: root/kernels/xen/patch-gcc6-etherboot-via-velocity.c.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-07 01:49:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-07 03:27:48 -0300
commite6f7ccd589ecbf766dfb7d32d205d140bb737b22 (patch)
tree543ee52e8b77074c553dcccaac56f21dce3bcfb7 /kernels/xen/patch-gcc6-etherboot-via-velocity.c.patch
parent132d2109048c6df329d49b6f679b635c9cb73758 (diff)
downloadabslibre-e6f7ccd589ecbf766dfb7d32d205d140bb737b22.tar.gz
abslibre-e6f7ccd589ecbf766dfb7d32d205d140bb737b22.tar.bz2
abslibre-e6f7ccd589ecbf766dfb7d32d205d140bb737b22.zip
xen-4.7.0-1.parabola1: updating version
Diffstat (limited to 'kernels/xen/patch-gcc6-etherboot-via-velocity.c.patch')
-rw-r--r--kernels/xen/patch-gcc6-etherboot-via-velocity.c.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernels/xen/patch-gcc6-etherboot-via-velocity.c.patch b/kernels/xen/patch-gcc6-etherboot-via-velocity.c.patch
new file mode 100644
index 000000000..36a3d8115
--- /dev/null
+++ b/kernels/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); */
+