Re: [PATCH -next 1/3] seq: Add a seq_overflow test.

2013-12-11 Thread Joe Perches
On Thu, 2013-12-12 at 10:27 +1100, Ryan Mallon wrote: > On 11/12/13 16:12, Joe Perches wrote: > > seq_printf and seq_puts returns are often misused. > > > > Instead of checking the seq_printf or seq_puts return, > > add a new seq_overflow function to test if a seq_file has > > overflowed the

Re: [PATCH -next 1/3] seq: Add a seq_overflow test.

2013-12-11 Thread Ryan Mallon
On 11/12/13 16:12, Joe Perches wrote: > seq_printf and seq_puts returns are often misused. > > Instead of checking the seq_printf or seq_puts return, > add a new seq_overflow function to test if a seq_file has > overflowed the available buffer space. > > This will eventually allow seq_printf and

Re: [PATCH -next 1/3] seq: Add a seq_overflow test.

2013-12-11 Thread Ryan Mallon
On 11/12/13 16:12, Joe Perches wrote: seq_printf and seq_puts returns are often misused. Instead of checking the seq_printf or seq_puts return, add a new seq_overflow function to test if a seq_file has overflowed the available buffer space. This will eventually allow seq_printf and

Re: [PATCH -next 1/3] seq: Add a seq_overflow test.

2013-12-11 Thread Joe Perches
On Thu, 2013-12-12 at 10:27 +1100, Ryan Mallon wrote: On 11/12/13 16:12, Joe Perches wrote: seq_printf and seq_puts returns are often misused. Instead of checking the seq_printf or seq_puts return, add a new seq_overflow function to test if a seq_file has overflowed the available

[PATCH -next 1/3] seq: Add a seq_overflow test.

2013-12-10 Thread Joe Perches
seq_printf and seq_puts returns are often misused. Instead of checking the seq_printf or seq_puts return, add a new seq_overflow function to test if a seq_file has overflowed the available buffer space. This will eventually allow seq_printf and seq_puts to be converted to have a void return

[PATCH -next 1/3] seq: Add a seq_overflow test.

2013-12-10 Thread Joe Perches
seq_printf and seq_puts returns are often misused. Instead of checking the seq_printf or seq_puts return, add a new seq_overflow function to test if a seq_file has overflowed the available buffer space. This will eventually allow seq_printf and seq_puts to be converted to have a void return