mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-08 10:30:50 +00:00
Staging: ft1000: ft1000_hw.c: Removed some checkpatch errors and warnings.
ERROR: space prohibited after that '&' (ctx:WxW) ERROR: "foo * bar" should be "foo *bar" ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3f3efca9c5
commit
35438c0011
@ -998,7 +998,7 @@ static void ft1000_proc_drvmsg(struct net_device *dev)
|
|||||||
else {
|
else {
|
||||||
tempword = FT1000_DPRAM_MAG_RX_BASE;
|
tempword = FT1000_DPRAM_MAG_RX_BASE;
|
||||||
}
|
}
|
||||||
if ( ft1000_receive_cmd(dev, &cmdbuffer[0], MAX_CMD_SQSIZE, &tempword) ) {
|
if (ft1000_receive_cmd(dev, &cmdbuffer[0], MAX_CMD_SQSIZE, &tempword)) {
|
||||||
|
|
||||||
/* Get the message type which is total_len + PSEUDO header + msgtype + message body */
|
/* Get the message type which is total_len + PSEUDO header + msgtype + message body */
|
||||||
pdrvmsg = (struct drv_msg *) & cmdbuffer[0];
|
pdrvmsg = (struct drv_msg *) & cmdbuffer[0];
|
||||||
@ -1224,7 +1224,7 @@ static void ft1000_proc_drvmsg(struct net_device *dev)
|
|||||||
for (i=1; i<7; i++) {
|
for (i=1; i<7; i++) {
|
||||||
ppseudo_hdr->checksum ^= *pmsg++;
|
ppseudo_hdr->checksum ^= *pmsg++;
|
||||||
}
|
}
|
||||||
pmsg = (u16 *) & tempbuffer[16];
|
pmsg = (u16 *) &tempbuffer[16];
|
||||||
*pmsg++ = htons(RSP_DRV_ERR_RPT_MSG);
|
*pmsg++ = htons(RSP_DRV_ERR_RPT_MSG);
|
||||||
*pmsg++ = htons(0x000e);
|
*pmsg++ = htons(0x000e);
|
||||||
*pmsg++ = htons(info->DSP_TIME[0]);
|
*pmsg++ = htons(info->DSP_TIME[0]);
|
||||||
@ -1756,7 +1756,7 @@ static int ft1000_copy_up_pkt(struct net_device *dev)
|
|||||||
SUCCESS
|
SUCCESS
|
||||||
|
|
||||||
-------------------------------------------------------------------------*/
|
-------------------------------------------------------------------------*/
|
||||||
static int ft1000_copy_down_pkt(struct net_device *dev, u16 * packet, u16 len)
|
static int ft1000_copy_down_pkt(struct net_device *dev, u16 *packet, u16 len)
|
||||||
{
|
{
|
||||||
struct ft1000_info *info = netdev_priv(dev);
|
struct ft1000_info *info = netdev_priv(dev);
|
||||||
struct ft1000_pcmcia *pcmcia = info->priv;
|
struct ft1000_pcmcia *pcmcia = info->priv;
|
||||||
|
Loading…
Reference in New Issue
Block a user