Re: [PATCH 09/14] RFC: usb/host/fotg210: Add function: output_buf_tds_dir()

2015-10-02 Thread Felipe Balbi
On Mon, Sep 21, 2015 at 05:01:13PM +0200, Peter Senna Tschudin wrote: > checkpatch complains about too many leading tabs because the switch > statement starts after 6 tabs. > > fill_periodic_buffer() -> for() -> do -> switch() -> if() -> > list_for_each_entry() and finally the last switch(). > >

Re: [PATCH 09/14] RFC: usb/host/fotg210: Add function: output_buf_tds_dir()

2015-09-21 Thread Sergei Shtylyov
On 09/21/2015 06:01 PM, Peter Senna Tschudin wrote: checkpatch complains about too many leading tabs because the switch statement starts after 6 tabs. fill_periodic_buffer() -> for() -> do -> switch() -> if() -> list_for_each_entry() and finally the last switch(). This patch moves the list_for

[PATCH 09/14] RFC: usb/host/fotg210: Add function: output_buf_tds_dir()

2015-09-21 Thread Peter Senna Tschudin
checkpatch complains about too many leading tabs because the switch statement starts after 6 tabs. fill_periodic_buffer() -> for() -> do -> switch() -> if() -> list_for_each_entry() and finally the last switch(). This patch moves the list_for_each_entry() and the last switch() to a new inline fun