Commit 645d2a8f authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: rtl8188eu: types of local variables conformed with types of function arguments

The array should not change in any case.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1e7e93ee
...@@ -58,8 +58,8 @@ static void _rtl88e_fw_block_write(struct adapter *adapt, ...@@ -58,8 +58,8 @@ static void _rtl88e_fw_block_write(struct adapter *adapt,
const u8 *buffer, u32 size) const u8 *buffer, u32 size)
{ {
u32 blk_sz = sizeof(u32); u32 blk_sz = sizeof(u32);
u8 *buf_ptr = (u8 *)buffer; const u8 *buf_ptr = (u8 *)buffer;
u32 *pu4BytePtr = (u32 *)buffer; const u32 *pu4BytePtr = (u32 *)buffer;
u32 i, offset, blk_cnt, remain; u32 i, offset, blk_cnt, remain;
blk_cnt = size / blk_sz; blk_cnt = size / blk_sz;
......
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