]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: change parameter type in hostif_mib_get_request
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:47 +0000 (20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:06 +0000 (14:07 +0200)
commit81ad5837d0768031de3792973b5d47e7a7ec0b14
treeffab3fe5edf1c98d9b89830ca6f020aa79e76ed7
parent521d3f26bc866a79cc3b464e8e3dec555fd34611
staging: ks7010: change parameter type in hostif_mib_get_request

Second parameter 'mib_attribute' in function hostif_mib_get_request
is declared as unsigned long and inside the function a cast to uint32_t
is being used. Just pass a u32 instead and avoid the casting.

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