diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2021-08-05 15:11:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-05 20:30:51 +0200 |
commit | 66e9564aae0185eb7f36d946b0ba22b779a4e193 (patch) | |
tree | 65c60ccb6f8527918e4afd69d0ef5e3a2abad42f /drivers/staging/r8188eu/os_dep/mlme_linux.c | |
parent | 066eea44c1ea430cabebffc383dcaa861fa9a2b9 (diff) |
staging: r8188eu: Fix incorrect types in arguments
GCC + Sparse emit warnings of passing incorrect type in arguments of
some functions because of different base types. Fix them by changing
the types of the parameters of the above-mentioned functions.
In the meantime, remove the unnecessary casts of those arguments
which are then passed to memcpy() within those same functions.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210805131108.19775-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/os_dep/mlme_linux.c')
0 files changed, 0 insertions, 0 deletions