From: Jason Cooper Date: Tue, 14 Sep 2010 13:45:37 +0000 (-0400) Subject: staging: brcm80211: fix "ERROR: do not initialise globals to 0 or NULL" X-Git-Tag: v2.6.37-rc1~60^2~3^2~624 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e4e4d21fa303f71a8289c3dd822a02cf91603502;p=karo-tx-linux.git staging: brcm80211: fix "ERROR: do not initialise globals to 0 or NULL" Signed-off-by: Jason Cooper Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/util/bcmsrom.c b/drivers/staging/brcm80211/util/bcmsrom.c index 03646508415a..361dc1126268 100644 --- a/drivers/staging/brcm80211/util/bcmsrom.c +++ b/drivers/staging/brcm80211/util/bcmsrom.c @@ -370,7 +370,7 @@ static const char BCMATTACHDATA(vstr_macaddr)[] = "macaddr=%s"; static const char BCMATTACHDATA(vstr_usbepnum)[] = "usbepnum=0x%x"; static const char BCMATTACHDATA(vstr_end)[] = "END\0"; -uint8 patch_pair = 0; +uint8 patch_pair; /* For dongle HW, accept partial calibration parameters */ #define BCMDONGLECASE(n) diff --git a/drivers/staging/brcm80211/util/linux_osl.c b/drivers/staging/brcm80211/util/linux_osl.c index e4ab2a1b5759..3726e0273342 100644 --- a/drivers/staging/brcm80211/util/linux_osl.c +++ b/drivers/staging/brcm80211/util/linux_osl.c @@ -52,7 +52,7 @@ struct osl_info { }; /* Global ASSERT type flag */ -uint32 g_assert_type = 0; +uint32 g_assert_type; static int16 linuxbcmerrormap[] = { 0, /* 0 */ -EINVAL, /* BCME_ERROR */