staging: rtl8723au: collect_bss_info23a(): Eliminate smatch warning
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:54:51 +0000 (18:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:12 +0000 (10:16 -0700)
commit79a76349d59ab9cba7a9ea0abadbdac42bfee1b2
tree167fc68b075b25a257f66100fc046bd8e064afa8
parent0b682c9bb68acb56b2cfbb086b0ad04470c77306
staging: rtl8723au: collect_bss_info23a(): Eliminate smatch warning

Make length an unsigned int. This should avoid Smatch warning that
'length' can go negative.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c