Skip to content

Commit

Permalink
staging: brcm80211: fix various checkpatch spacing errors.
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 Oct 6, 2010
1 parent 5f782de commit e9887c9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ sdioh_request_packet(sdioh_info_t *sd, uint fix_inc, uint write, uint func,

if (err_ret) {
sd_err(("%s: %s FAILED %p[%d], addr=0x%05x, pkt_len=%d,"
"ERR=0x%08x\n", __func__, (write) ? "TX":"RX",
"ERR=0x%08x\n", __func__,
(write) ? "TX" : "RX",
pnext, SGCount, addr, pkt_len, err_ret));
} else {
sd_trace(("%s: %s xfr'd %p[%d], addr=0x%05x, len=%d\n",
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int dhd_custom_get_mac_address(unsigned char *buf)
/* EXAMPLE code */
{
struct ether_addr ea_example = {
{0x00, 0x11, 0x22, 0x33, 0x44, 0xFF}};
{0x00, 0x11, 0x22, 0x33, 0x44, 0xFF} };
bcopy((char *)&ea_example, buf, sizeof(struct ether_addr));
}
#endif /* EXAMPLE_GET_MAC */
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ int dhd_bus_rxctl(struct dhd_bus *bus, unsigned char *msg, uint msglen)
else
bus->dhd->rx_ctlerrs++;

return rxlen ? (int)rxlen:-ETIMEDOUT;
return rxlen ? (int)rxlen : -ETIMEDOUT;
}

/* IOVar table */
Expand Down Expand Up @@ -3969,7 +3969,7 @@ static uint dhdsdio_readframes(dhd_bus_t *bus, uint maxframes, bool *finished)
}

/* Validate check bytes */
if ((uint16) ~ (len ^ check)) {
if ((uint16) ~(len ^ check)) {
DHD_ERROR(("%s: HW hdr err: len/check 0x%04x/0x%04x\n",
__func__, len, check));
bus->rx_badhdr++;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2635,7 +2635,7 @@ static void wl_init_conf(struct wl_conf *conf)
conf->rts_threshold = (uint32)-1;
conf->retry_short = (uint32)-1;
conf->retry_long = (uint32)-1;
conf->tx_power =-1;
conf->tx_power = -1;
}

static void wl_init_prof(struct wl_profile *prof)
Expand Down

0 comments on commit e9887c9

Please sign in to comment.