Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-13 Thread Jonathan Cameron
On 12 July 2015 14:07:15 BST, Hartmut Knaack wrote: >Cristina Georgiana Opriceana schrieb am 12.07.2015 um 13:38: >> On Sat, Jul 11, 2015 at 12:42 AM, Hartmut Knaack >wrote: >>> Cristina Opriceana schrieb am 10.07.2015 um 12:56: Replace printf error messages with fprintf(stderr, ...) in or

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-13 Thread Jonathan Cameron
On 12 July 2015 13:20:45 BST, Julia Lawall wrote: >> Yes, I could have included all in a single patch, but I tried to >> automatize this task and build a rather generic semantic patch in >> coccinelle for the substitutions. Had I included all in one patch, >the >> changes with coccinelle wouldn'

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-12 Thread Cristina Georgiana Opriceana
On Sun, Jul 12, 2015 at 4:07 PM, Hartmut Knaack wrote: > Cristina Georgiana Opriceana schrieb am 12.07.2015 um 13:38: >> On Sat, Jul 11, 2015 at 12:42 AM, Hartmut Knaack wrote: >>> Cristina Opriceana schrieb am 10.07.2015 um 12:56: Replace printf error messages with fprintf(stderr, ...) in o

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-12 Thread Hartmut Knaack
Cristina Georgiana Opriceana schrieb am 12.07.2015 um 13:38: > On Sat, Jul 11, 2015 at 12:42 AM, Hartmut Knaack wrote: >> Cristina Opriceana schrieb am 10.07.2015 um 12:56: >>> Replace printf error messages with fprintf(stderr, ...) in order >>> to ensure consistency and to make faults easier to i

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-12 Thread Julia Lawall
> Yes, I could have included all in a single patch, but I tried to > automatize this task and build a rather generic semantic patch in > coccinelle for the substitutions. Had I included all in one patch, the > changes with coccinelle wouldn't have been differentiated from the > other ones. If that

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-12 Thread Cristina Georgiana Opriceana
On Sat, Jul 11, 2015 at 12:42 AM, Hartmut Knaack wrote: > Cristina Opriceana schrieb am 10.07.2015 um 12:56: >> Replace printf error messages with fprintf(stderr, ...) in order >> to ensure consistency and to make faults easier to identify. >> This patch uses coccinelle to detect and apply the cha

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-10 Thread Hartmut Knaack
Cristina Opriceana schrieb am 10.07.2015 um 12:56: > Replace printf error messages with fprintf(stderr, ...) in order > to ensure consistency and to make faults easier to identify. > This patch uses coccinelle to detect and apply the changes. > Hi Cristina, I just had a look at the series. You ha

[PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-10 Thread Cristina Opriceana
Replace printf error messages with fprintf(stderr, ...) in order to ensure consistency and to make faults easier to identify. This patch uses coccinelle to detect and apply the changes. Signed-off-by: Cristina Opriceana --- Changes in v2: - s/failiure/failure tools/iio/generic_buffer.c| 17