]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: allocate less memory
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 May 2018 10:56:55 +0000 (13:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:55:51 +0000 (13:55 -0700)
commit5990f693fc0a31635e7b705692136588d30ed8b6
tree8e0da87c402659ea89dc569ca94f644fc7586d2b
parent402df031896f77508cc65cbd1f8e19dd3d21e92c
staging: wilc1000: allocate less memory

We should be allocating space for hidden_network_info structs.  They are
slightly smaller than hidden_network structs.  This bug doesn't cause a
runtime issue beyond the very small ammount of extra memory used.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c