]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: change parameter type in ks_wlan_hw_rx function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:40 +0000 (20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:06 +0000 (14:07 +0200)
commit3cb84f3b90b4d508401b3417442330b1cf7ae3dc
treedb8d69ac7b23510f3b0b7ce1fe61baedc3aa62f6
parent721bf5eb0df775e4493cd2fba8dde5c4ce0eebab
staging: ks7010: change parameter type in ks_wlan_hw_rx function

The parameter 'size' in function ks_wlan_hw_rx is declared as
uint16_t and can be declared as size_t which makes more sense.
It is being passed to hif_align_size function which also expects
a size_t as parameter so just change its type. Also update two
casts in calls to this function.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c