Re: [Linuxwacom-devel] [PATCH 4/4] Suppress most output from 'set_output' helper functions

2011-08-11 Thread Jason Gerecke
On Wed, Aug 10, 2011 at 6:51 PM, Peter Hutterer wrote: > On Tue, Aug 09, 2011 at 05:50:13PM -0700, Jason Gerecke wrote: >> Things get confusing when one helper function reports that it >> couldn't find an output, but the next doesn't report success. >> This change moves most of the output from the

Re: [Linuxwacom-devel] [PATCH 4/4] Suppress most output from 'set_output' helper functions

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:50:13PM -0700, Jason Gerecke wrote: > Things get confusing when one helper function reports that it > couldn't find an output, but the next doesn't report success. > This change moves most of the output from the helper functions > into TRACE() calls that can be investigat

[Linuxwacom-devel] [PATCH 4/4] Suppress most output from 'set_output' helper functions

2011-08-09 Thread Jason Gerecke
Things get confusing when one helper function reports that it couldn't find an output, but the next doesn't report success. This change moves most of the output from the helper functions into TRACE() calls that can be investigated if need be, and adds a fallthrough failure message to 'set_output'.