Thread (27 messages) 27 messages, 2 authors, 2015-08-21

Re: [PATCH v2.2 02/22] fjes: Hardware initialization routine

From: David Miller <davem@davemloft.net>
Date: 2015-08-20 22:49:37
Also in: linux-acpi, platform-driver-x86

From: Taku Izumi <redacted>
Date: Thu, 20 Aug 2015 17:46:06 +0900
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes/fjes.h
index 4622da1..15ded96 100644
--- a/drivers/net/fjes/fjes.h
+++ b/drivers/net/fjes/fjes.h
@@ -28,6 +28,6 @@
 
 extern char fjes_driver_name[];
 extern char fjes_driver_version[];
-extern u32 fjes_support_mtu[];
+extern const u32 fjes_support_mtu[];
 
 #endif /* FJES_H_ */
This is kind of rediculous.  Just declare it 'const' from the start in the
patch where you add it for the first time.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help