Re: [PATCH] staging: wilc1000: allocate less memory

2018-05-03 Thread Ajay Singh
On Thu, 3 May 2018 13:56:55 +0300 Dan Carpenter wrote: > 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: Da

[PATCH] staging: wilc1000: allocate less memory

2018-05-03 Thread Dan Carpenter
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 diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperat