Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f68057e6 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

staging: ath6kl: Convert A_INT32 to s32



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cb1e3709
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -465,10 +465,10 @@ static int async_task(void *param)
    return 0;
}

static A_INT32 IssueSDCommand(HIF_DEVICE *device, u32 opcode, u32 arg, u32 flags, u32 *resp)
static s32 IssueSDCommand(HIF_DEVICE *device, u32 opcode, u32 arg, u32 flags, u32 *resp)
{
    struct mmc_command cmd;
    A_INT32 err;
    s32 err;
    struct mmc_host *host;
    struct sdio_func *func;

@@ -490,7 +490,7 @@ static A_INT32 IssueSDCommand(HIF_DEVICE *device, u32 opcode, u32 arg, u32 flags

int ReinitSDIO(HIF_DEVICE *device)
{
    A_INT32 err;
    s32 err;
    struct mmc_host *host;
    struct mmc_card *card;
	struct sdio_func *func;
@@ -1153,7 +1153,7 @@ static void hifDeviceRemoved(struct sdio_func *func)
 */
int hifWaitForPendingRecv(HIF_DEVICE *device)
{
    A_INT32 cnt = 10;
    s32 cnt = 10;
    u8 host_int_status;
    int status = A_OK;

@@ -1280,7 +1280,7 @@ static int Func0_CMD52ReadByte(struct mmc_card *card, unsigned int address, unsi
{
    struct mmc_command ioCmd;
    unsigned long      arg;
    A_INT32 err;
    s32 err;
    
    memset(&ioCmd,0,sizeof(ioCmd));
    SDIO_SET_CMD52_READ_ARG(arg,0,address);
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ HTC_PACKET *HTCAllocControlBuffer(HTC_TARGET *target, HTC_PACKET_QUEUE *pList)
/* cleanup the HTC instance */
static void HTCCleanup(HTC_TARGET *target)
{
    A_INT32 i;
    s32 i;

    DevCleanup(&target->Device);
    
+2 −2
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ typedef PREPACK struct {
    u32 mode;
    u32 freq;
    u32 dataRate;
    A_INT32                 txPwr;
    s32 txPwr;
    u32 antenna;
    u32 enANI;
    u32 scramblerOff;
@@ -135,7 +135,7 @@ typedef PREPACK struct {
        } POSTPACK para;
        struct PREPACK TCMD_CONT_RX_REPORT {
            u32 totalPkt;
            A_INT32     rssiInDBm;
            s32 rssiInDBm;
            u32 crcErrPkt;
            u32 secErrPkt;
            u16 rateCnt[TCMD_MAX_RATES];
+6 −6
Original line number Diff line number Diff line
@@ -2155,7 +2155,7 @@ typedef PREPACK struct {
 * WMI_SCAN_COMPLETE_EVENTID - no parameters (old), staus parameter (new)
 */
typedef PREPACK struct {
    A_INT32 status;
    s32 status;
} POSTPACK WMI_SCAN_COMPLETE_EVENT;

#define MAX_OPT_DATA_LEN 1400
@@ -2233,7 +2233,7 @@ typedef PREPACK struct {
    u32 tx_retry_cnt;
    u32 tx_mult_retry_cnt;
    u32 tx_rts_fail_cnt;
    A_INT32    tx_unicast_rate;
    s32 tx_unicast_rate;
}POSTPACK tx_stats_t;

typedef PREPACK struct {
@@ -2252,7 +2252,7 @@ typedef PREPACK struct {
    u32 rx_key_cache_miss;
    u32 rx_decrypt_err;
    u32 rx_duplicate_frames;
    A_INT32    rx_unicast_rate;
    s32 rx_unicast_rate;
}POSTPACK rx_stats_t;

typedef PREPACK struct {
@@ -2306,7 +2306,7 @@ typedef PREPACK struct {

typedef PREPACK struct {
    u32 lqVal;
    A_INT32             noise_floor_calibation;
    s32 noise_floor_calibation;
    pm_stats_t          pmStats;
    wlan_net_stats_t    txrxStats;
    wlan_wow_stats_t    wowStats;
@@ -2388,7 +2388,7 @@ typedef enum{
} WMI_LQ_THRESHOLD_VAL;

typedef PREPACK struct {
    A_INT32 lq;
    s32 lq;
    u8 range;  /* WMI_LQ_THRESHOLD_VAL */
}POSTPACK  WMI_LQ_THRESHOLD_EVENT;
/*
@@ -2397,7 +2397,7 @@ typedef PREPACK struct {
#define MAX_ROAM_TBL_CAND   5

typedef PREPACK struct {
    A_INT32 roam_util;
    s32 roam_util;
    u8 bssid[ATH_MAC_LEN];
    s8 rssi;
    s8 rssidt;
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ typedef struct _COMMON_CREDIT_STATE_INFO {
} COMMON_CREDIT_STATE_INFO;

typedef struct {
    A_INT32 (*setupTransport)(void *ar);
    s32 (*setupTransport)(void *ar);
    void (*cleanupTransport)(void *ar);
} HCI_TRANSPORT_CALLBACKS;

Loading