staging: brcm80211: fix various checkpatch spacing errors.
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5f782dee8d
commit
e9887c9d9c
|
@ -985,7 +985,8 @@ sdioh_request_packet(sdioh_info_t *sd, uint fix_inc, uint write, uint func,
|
||||||
|
|
||||||
if (err_ret) {
|
if (err_ret) {
|
||||||
sd_err(("%s: %s FAILED %p[%d], addr=0x%05x, pkt_len=%d,"
|
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));
|
pnext, SGCount, addr, pkt_len, err_ret));
|
||||||
} else {
|
} else {
|
||||||
sd_trace(("%s: %s xfr'd %p[%d], addr=0x%05x, len=%d\n",
|
sd_trace(("%s: %s xfr'd %p[%d], addr=0x%05x, len=%d\n",
|
||||||
|
|
|
@ -151,7 +151,7 @@ int dhd_custom_get_mac_address(unsigned char *buf)
|
||||||
/* EXAMPLE code */
|
/* EXAMPLE code */
|
||||||
{
|
{
|
||||||
struct ether_addr ea_example = {
|
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));
|
bcopy((char *)&ea_example, buf, sizeof(struct ether_addr));
|
||||||
}
|
}
|
||||||
#endif /* EXAMPLE_GET_MAC */
|
#endif /* EXAMPLE_GET_MAC */
|
||||||
|
|
|
@ -1421,7 +1421,7 @@ int dhd_bus_rxctl(struct dhd_bus *bus, unsigned char *msg, uint msglen)
|
||||||
else
|
else
|
||||||
bus->dhd->rx_ctlerrs++;
|
bus->dhd->rx_ctlerrs++;
|
||||||
|
|
||||||
return rxlen ? (int)rxlen:-ETIMEDOUT;
|
return rxlen ? (int)rxlen : -ETIMEDOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IOVar table */
|
/* IOVar table */
|
||||||
|
@ -3969,7 +3969,7 @@ static uint dhdsdio_readframes(dhd_bus_t *bus, uint maxframes, bool *finished)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Validate check bytes */
|
/* Validate check bytes */
|
||||||
if ((uint16) ~ (len ^ check)) {
|
if ((uint16) ~(len ^ check)) {
|
||||||
DHD_ERROR(("%s: HW hdr err: len/check 0x%04x/0x%04x\n",
|
DHD_ERROR(("%s: HW hdr err: len/check 0x%04x/0x%04x\n",
|
||||||
__func__, len, check));
|
__func__, len, check));
|
||||||
bus->rx_badhdr++;
|
bus->rx_badhdr++;
|
||||||
|
|
|
@ -2635,7 +2635,7 @@ static void wl_init_conf(struct wl_conf *conf)
|
||||||
conf->rts_threshold = (uint32)-1;
|
conf->rts_threshold = (uint32)-1;
|
||||||
conf->retry_short = (uint32)-1;
|
conf->retry_short = (uint32)-1;
|
||||||
conf->retry_long = (uint32)-1;
|
conf->retry_long = (uint32)-1;
|
||||||
conf->tx_power =-1;
|
conf->tx_power = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wl_init_prof(struct wl_profile *prof)
|
static void wl_init_prof(struct wl_profile *prof)
|
||||||
|
|
Loading…
Reference in New Issue