Re: [PATCH v2 1/4] staging: wilc1000: fix null check routine

2015-09-20 Thread Tony Cho
On 2015년 09월 19일 11:50, Greg KH wrote: On Thu, Sep 17, 2015 at 07:02:17PM +0900, Tony Cho wrote: From: Leo Kim This patch removes the potential faults which may happen when unexpectedly getting access to invalid pointer. The pointer of pstrWFIDrv is unlikely to be

Re: [PATCH v2 1/4] staging: wilc1000: fix null check routine

2015-09-18 Thread Greg KH
On Thu, Sep 17, 2015 at 07:02:17PM +0900, Tony Cho wrote: > From: Leo Kim > > This patch removes the potential faults which may happen when unexpectedly > getting access to invalid pointer. The pointer of pstrWFIDrv is unlikely > to be invalid. However, it is safer to return

[PATCH v2 1/4] staging: wilc1000: fix null check routine

2015-09-17 Thread Tony Cho
From: Leo Kim This patch removes the potential faults which may happen when unexpectedly getting access to invalid pointer. The pointer of pstrWFIDrv is unlikely to be invalid. However, it is safer to return error when the invalid memory is unfortunately accessed.