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

2018-04-13 Thread Sergio Paracuellos
On Fri, Apr 13, 2018 at 3:27 PM, Dan Carpenter wrote: > > This is the last patch in the series so I think we could just drop it > without resending the others. True. Ok, I'll resend the last one modified in my next series. > > regards, > dan carpenter > Best regards, Sergio Paracuellos

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

2018-04-13 Thread Dan Carpenter
This is the last patch in the series so I think we could just drop it without resending the others. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

2018-04-13 Thread Sergio Paracuellos
On Fri, Apr 13, 2018 at 2:14 PM, Dan Carpenter wrote: > On Thu, Apr 12, 2018 at 05:50:31PM +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. It a

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

2018-04-13 Thread Dan Carpenter
On Thu, Apr 12, 2018 at 05:50:31PM +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. It also review internal names and adds > a new CIRC_INC macro to

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

2018-04-12 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. It also review internal names and adds a new CIRC_INC macro to make code more readable. Note also that CIRC_INC does not need to go inside