aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/ixl/ixl.h
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2017-07-14 00:10:51 +0000
committerRyan Libby <rlibby@FreeBSD.org>2017-07-14 00:10:51 +0000
commit33c66d8aebf76dd0436843e887133b810bb93c71 (patch)
tree1dbcbb95657603d56be6d5036d80dd9d2dd857d9 /sys/dev/ixl/ixl.h
parent314b447f66686f50fd26f3efe21d098060417c6d (diff)
downloadsrc-33c66d8aebf76dd0436843e887133b810bb93c71.tar.gz
src-33c66d8aebf76dd0436843e887133b810bb93c71.zip
ixl: gcc build errors
Fix minor -Werror issues when building with gcc from -Wredundant-decls, -Wunused, -Wbool-operations. Also ensure the M_IXL malloc type is only defined once. Reviewed by: efj Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D11414
Notes
Notes: svn path=/head/; revision=320977
Diffstat (limited to 'sys/dev/ixl/ixl.h')
-rw-r--r--sys/dev/ixl/ixl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ixl/ixl.h b/sys/dev/ixl/ixl.h
index 28340ef201c9..03851b52d9cf 100644
--- a/sys/dev/ixl/ixl.h
+++ b/sys/dev/ixl/ixl.h
@@ -664,8 +664,7 @@ struct ixl_sysctl_info {
char *description;
};
-static uint8_t ixl_bcast_addr[ETHER_ADDR_LEN] =
- {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
+extern const uint8_t ixl_bcast_addr[ETHER_ADDR_LEN];
/*********************************************************************
* TXRX Function prototypes