Skip to content

Commit

Permalink
staging: brcm80211: fix "ERROR: do not initialise globals to 0 or NULL"
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jason Cooper authored and Greg Kroah-Hartman committed Sep 14, 2010
1 parent 9b6562b commit e4e4d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/util/bcmsrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/util/linux_osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e4e4d21

Please sign in to comment.