Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues

2018-04-23 Thread Sergio Paracuellos
On Mon, Apr 23, 2018 at 3:19 PM, Greg KH wrote: > On Mon, Apr 23, 2018 at 03:02:20PM +0200, Sergio Paracuellos wrote: >> On Mon, Apr 23, 2018 at 2:30 PM, Greg KH wrote: >> > On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote: >> >> This commit replace current custom implementation

Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues

2018-04-23 Thread Greg KH
On Mon, Apr 23, 2018 at 03:02:20PM +0200, Sergio Paracuellos wrote: > On Mon, Apr 23, 2018 at 2:30 PM, Greg KH wrote: > > On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote: > >> This commit replace current custom implementation of some circular > >> buffer head and tail logic in f

Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues

2018-04-23 Thread Sergio Paracuellos
On Mon, Apr 23, 2018 at 2:30 PM, Greg KH wrote: > On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote: >> This commit replace current custom implementation of some circular >> buffer head and tail logic in favour of the use of macros defined >> in linux circ_buf.h header. Queue rela

Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues

2018-04-23 Thread Greg KH
On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote: > This commit replace current custom implementation of some circular > buffer head and tail logic in favour of the use of macros defined > in linux circ_buf.h header. Queue related inline function names > have been review also. >

[PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues

2018-04-16 Thread Sergio Paracuellos
This commit replace current custom implementation of some circular buffer head and tail logic in favour of the use of macros defined in linux circ_buf.h header. Queue related inline function names have been review also. Signed-off-by: Sergio Paracuellos --- drivers/staging/ks7010/ks7010_sdio.c |