Commit a7360b18 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: ks7010: use u8 instead of unsigned char for firmware buffers

This commit replaces type unsigned char which is the one which
is being used for firmware buffers with u8 type which is preferred.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0cc053dd
...@@ -689,10 +689,10 @@ static int ks7010_sdio_update_index(struct ks_wlan_private *priv, u32 index) ...@@ -689,10 +689,10 @@ static int ks7010_sdio_update_index(struct ks_wlan_private *priv, u32 index)
#define ROM_BUFF_SIZE (64 * 1024) #define ROM_BUFF_SIZE (64 * 1024)
static int ks7010_sdio_data_compare(struct ks_wlan_private *priv, u32 address, static int ks7010_sdio_data_compare(struct ks_wlan_private *priv, u32 address,
unsigned char *data, unsigned int size) u8 *data, unsigned int size)
{ {
int ret; int ret;
unsigned char *read_buf; u8 *read_buf;
read_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL); read_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL);
if (!read_buf) if (!read_buf)
...@@ -723,7 +723,7 @@ static int ks7010_copy_firmware(struct ks_wlan_private *priv, ...@@ -723,7 +723,7 @@ static int ks7010_copy_firmware(struct ks_wlan_private *priv,
unsigned int size; unsigned int size;
unsigned int offset; unsigned int offset;
unsigned int n = 0; unsigned int n = 0;
unsigned char *rom_buf; u8 *rom_buf;
int ret; int ret;
rom_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL); rom_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL);
......
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