]> git.baikalelectronics.ru Git - kernel.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)
commite516a6414f41073c4f0cf5c4ae0ae57d2166fa52
treeffab3fe5edf1c98d9b89830ca6f020aa79e76ed7
parent50d48f541dfa80604e57e437b14008bd88d5570c
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