[rtems-libbsd commit] if_dwc: Silence warning
Sebastian Huber
sebh at rtems.org
Wed Apr 1 07:16:38 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: 13afbe7a8046ab9e4cd3d6cc81c7a4e1e8009eb5
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=13afbe7a8046ab9e4cd3d6cc81c7a4e1e8009eb5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Mar 26 15:09:57 2015 +0100
if_dwc: Silence warning
---
freebsd/sys/dev/dwc/if_dwc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c
index ea08667..857f146 100644
--- a/freebsd/sys/dev/dwc/if_dwc.c
+++ b/freebsd/sys/dev/dwc/if_dwc.c
@@ -76,6 +76,9 @@ __FBSDID("$FreeBSD$");
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <rtems/bsd/local/miibus_if.h>
+#ifdef __rtems__
+#pragma GCC diagnostic ignored "-Wpointer-sign"
+#endif /* __rtems__ */
#define READ4(_sc, _reg) \
bus_read_4((_sc)->res[0], _reg)
More information about the vc
mailing list