summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
commit2314521104388ada19392a3b2cdaca4ba6f82243 (patch)
tree861cbfaa866bcf3864607e709a7f079f8e0b8b88 /sys/dev/ath
parent3f6c5f153b139d0086f063e076f19f4f76da1927 (diff)
downloadFreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.zip
FreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.tar.gz
Add necessary include.
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ah_osdep.c1
-rw-r--r--sys/dev/ath/ath_hal/ah.c1
-rw-r--r--sys/dev/ath/ath_hal/ah_eeprom_v3.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/ah_osdep.c b/sys/dev/ath/ah_osdep.c
index 6b11b21..c37ef14 100644
--- a/sys/dev/ath/ah_osdep.c
+++ b/sys/dev/ath/ah_osdep.c
@@ -107,6 +107,7 @@ ath_hal_malloc(size_t size)
return malloc(size, M_ATH_HAL, M_NOWAIT | M_ZERO);
}
+/* XXX: FlexeLint return in void function ? */
void
ath_hal_free(void* p)
{
diff --git a/sys/dev/ath/ath_hal/ah.c b/sys/dev/ath/ath_hal/ah.c
index cff9613..db47dd2 100644
--- a/sys/dev/ath/ath_hal/ah.c
+++ b/sys/dev/ath/ath_hal/ah.c
@@ -566,6 +566,7 @@ ath_hal_getregdump(struct ath_hal *ah, const HAL_REGRANGE *regs,
uint32_t *dp = dstbuf;
int i;
+ /* XXX: FlexeLint: ">" test with ++ */
for (i = 0; space >= 2*sizeof(uint32_t); i++) {
u_int r = regs[i].start;
u_int e = regs[i].end;
diff --git a/sys/dev/ath/ath_hal/ah_eeprom_v3.c b/sys/dev/ath/ath_hal/ah_eeprom_v3.c
index 89a23c9..fef9a45 100644
--- a/sys/dev/ath/ath_hal/ah_eeprom_v3.c
+++ b/sys/dev/ath/ath_hal/ah_eeprom_v3.c
@@ -1753,6 +1753,8 @@ legacyEepromGetSpurChan(struct ath_hal *ah, int ix, HAL_BOOL is2GHz)
/*
* Reclaim any EEPROM-related storage.
*/
+
+/* XXX: FlexeLint: return in void function */
static void
legacyEepromDetach(struct ath_hal *ah)
{
OpenPOWER on IntegriCloud