staging: most: use preferred kernel types
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 21 Oct 2015 15:50:49 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:08:20 +0000 (19:08 -0700)
This patch makes use of the preferred kernel types such as u16, u32.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-network/networking.c
drivers/staging/most/hdm-i2c/hdm_i2c.c
drivers/staging/most/mostcore/core.c

index f268d7d6326755d5b8a5f753cf6f4594f691d0db..3c7beb03871daa866cc018a663d05d4b0468b3af 100644 (file)
@@ -428,7 +428,7 @@ static int aim_rx_data(struct mbo *mbo)
        const u32 zero = 0;
        struct net_dev_context *nd;
        char *buf = mbo->virt_address;
-       uint32_t len = mbo->processed_length;
+       u32 len = mbo->processed_length;
        struct sk_buff *skb;
        struct net_device *dev;
 
index 79448a56b20ca6d9a7a96606a1c007e2c9dec6df..ba0263bb3d12685972669e7d886f4358cb2aac4d 100644 (file)
@@ -196,7 +196,7 @@ static void do_rx_work(struct hdm_i2c *dev)
        struct mbo *mbo;
        unsigned char msg[MAX_BUF_SIZE_CONTROL];
        int ret, ch_idx = CH_RX;
-       uint16_t pml, data_size;
+       u16 pml, data_size;
 
        /* Read PML (2 bytes) */
        ret = i2c_master_recv(dev->client, msg, 2);
index 3e1cc5acf8dff7df44b5b538288d0d32410e4944..19852ca7e59c3ab8f463297fa548985629ba09e3 100644 (file)
@@ -49,7 +49,7 @@ struct most_c_obj {
        struct completion cleanup;
        atomic_t mbo_ref;
        atomic_t mbo_nq_level;
-       uint16_t channel_id;
+       u16 channel_id;
        bool is_poisoned;
        struct mutex start_mutex;
        int is_starving;