Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Luis de Bethencourt
On 24/06/16 00:54, Julian Calaby wrote: > Hi Luis, > > On Fri, Jun 24, 2016 at 9:50 AM, Luis de Bethencourt > wrote: >> On 24/06/16 00:15, Julian Calaby wrote: >>> Hi Joe, >>> >>> On Fri, Jun 24, 2016 at 5:24 AM, Joe Perches wrote: On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrot

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Julian Calaby
Hi Luis, On Fri, Jun 24, 2016 at 9:50 AM, Luis de Bethencourt wrote: > On 24/06/16 00:15, Julian Calaby wrote: >> Hi Joe, >> >> On Fri, Jun 24, 2016 at 5:24 AM, Joe Perches wrote: >>> On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrote: hif_drv->usr_scan_req.net.net_info[i] contain

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Luis de Bethencourt
On 24/06/16 00:15, Julian Calaby wrote: > Hi Joe, > > On Fri, Jun 24, 2016 at 5:24 AM, Joe Perches wrote: >> On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrote: >>> hif_drv->usr_scan_req.net.net_info[i] contains found_net_info structs >>> which have the following element: >>> u8 bssid[6

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Julian Calaby
Hi Joe, On Fri, Jun 24, 2016 at 5:24 AM, Joe Perches wrote: > On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrote: >> hif_drv->usr_scan_req.net.net_info[i] contains found_net_info structs >> which have the following element: >> u8 bssid[6]; > [] >> I am aware this patch gives a few check

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Luis de Bethencourt
On 23/06/16 20:24, Joe Perches wrote: > On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrote: >> hif_drv->usr_scan_req.net.net_info[i] contains found_net_info structs >> which have the following element: >> u8 bssid[6]; > [] >> I am aware this patch gives a few checkpatch.pl warnings about

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Joe Perches
On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrote: > hif_drv->usr_scan_req.net.net_info[i] contains found_net_info structs > which have the following element: > u8 bssid[6]; [] > I am aware this patch gives a few checkpatch.pl warnings about lines being > over 80 characters. Fixing that

[PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Luis de Bethencourt
hif_drv->usr_scan_req.net.net_info[i] contains found_net_info structs which have the following element: u8 bssid[6]; pstrNetworkInfo, of type network_info, also contains an u8 array named bssid. request->ssids is an array of cfg80211_ssid structs. Making ssid: u8 ssid[IEEE80211_MAX_SSID_LEN]; In