Commit 2aa9b96f authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

staging: most: use preferred kernel types

This patch makes use of the preferred kernel types such as u16, u32.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 623d8002
...@@ -428,7 +428,7 @@ static int aim_rx_data(struct mbo *mbo) ...@@ -428,7 +428,7 @@ static int aim_rx_data(struct mbo *mbo)
const u32 zero = 0; const u32 zero = 0;
struct net_dev_context *nd; struct net_dev_context *nd;
char *buf = mbo->virt_address; char *buf = mbo->virt_address;
uint32_t len = mbo->processed_length; u32 len = mbo->processed_length;
struct sk_buff *skb; struct sk_buff *skb;
struct net_device *dev; struct net_device *dev;
......
...@@ -196,7 +196,7 @@ static void do_rx_work(struct hdm_i2c *dev) ...@@ -196,7 +196,7 @@ static void do_rx_work(struct hdm_i2c *dev)
struct mbo *mbo; struct mbo *mbo;
unsigned char msg[MAX_BUF_SIZE_CONTROL]; unsigned char msg[MAX_BUF_SIZE_CONTROL];
int ret, ch_idx = CH_RX; int ret, ch_idx = CH_RX;
uint16_t pml, data_size; u16 pml, data_size;
/* Read PML (2 bytes) */ /* Read PML (2 bytes) */
ret = i2c_master_recv(dev->client, msg, 2); ret = i2c_master_recv(dev->client, msg, 2);
......
...@@ -49,7 +49,7 @@ struct most_c_obj { ...@@ -49,7 +49,7 @@ struct most_c_obj {
struct completion cleanup; struct completion cleanup;
atomic_t mbo_ref; atomic_t mbo_ref;
atomic_t mbo_nq_level; atomic_t mbo_nq_level;
uint16_t channel_id; u16 channel_id;
bool is_poisoned; bool is_poisoned;
struct mutex start_mutex; struct mutex start_mutex;
int is_starving; int is_starving;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment