]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: handle_cfg_param: change data type of wid_cnt
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 23 Feb 2016 06:37:59 +0000 (15:37 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:28:33 +0000 (22:28 -0800)
commit440d663eef26d0bfd8d83666a0e8760f24e29555
tree0daa20af89af6e1d78e51ab48c992dc5a3928066
parent4ae09fc2a5338cb8cdda64e1f2fc8ab84aeb27b9
staging: wilc1000: handle_cfg_param: change data type of wid_cnt

This patch changes data type of wid_cnt from u8 to int.
This variable uses array index of struct wid_list so that it is better
to use int type.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c