[PATCH v2] checkpatch: enhance check for seq_printf uses that could be seq_puts

2015-01-31 Thread Heba Aamer
This patch enhances the check for seq_printf uses that could be seq_puts. It was considering the escape of % is \%, but it is %%. This led to skipping some valid cases related to that warning. Signed-off-by: Heba Aamer --- v2: remove not needed if condition scripts/checkpatch.pl |3 ++- 1

[PATCH v2] checkpatch: enhance check for seq_printf uses that could be seq_puts

2015-01-31 Thread Heba Aamer
This patch enhances the check for seq_printf uses that could be seq_puts. It was considering the escape of % is \%, but it is %%. This led to skipping some valid cases related to that warning. Signed-off-by: Heba Aamer heba93aa...@gmail.com --- v2: remove not needed if condition