mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
staging: rtl8188eu: types of local variables conformed with types of function arguments
The array should not change in any case. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e7e93ee6d
commit
645d2a8f46
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ static void _rtl88e_fw_block_write(struct adapter *adapt,
|
|||
const u8 *buffer, u32 size)
|
||||
{
|
||||
u32 blk_sz = sizeof(u32);
|
||||
u8 *buf_ptr = (u8 *)buffer;
|
||||
u32 *pu4BytePtr = (u32 *)buffer;
|
||||
const u8 *buf_ptr = (u8 *)buffer;
|
||||
const u32 *pu4BytePtr = (u32 *)buffer;
|
||||
u32 i, offset, blk_cnt, remain;
|
||||
|
||||
blk_cnt = size / blk_sz;
|
||||
|
|
Loading…
Reference in a new issue