linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media-ctl error messages
@ 2013-05-08 13:27 Sascha Hauer
  2013-05-08 13:27 ` [PATCH 1/2] Print more detailed parse " Sascha Hauer
  2013-05-08 13:27 ` [PATCH 2/2] Print parser position on error Sascha Hauer
  0 siblings, 2 replies; 8+ messages in thread
From: Sascha Hauer @ 2013-05-08 13:27 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media

Hi All,

As a first time media-ctl user it was quite frustrating to see that whatever I
did media-ctl only responded with "Unable to parse link". The following is an
attempt to add some more detailed error messages. With this applied media-ctl
can answer with something like:

No pad '1' on entity "mt9p031 0-0048". Maximum pad number is 0
media_parse_setup_link: Unable to parse link

 "mt9p031 0-0048":1->"/soc/cammultiplex@plx0":1[0]
                  ^

Please consider applying.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      Print more detailed parse error messages
      Print parser position on error

 src/mediactl.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 71 insertions(+), 12 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-06-19 10:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 13:27 [PATCH] media-ctl error messages Sascha Hauer
2013-05-08 13:27 ` [PATCH 1/2] Print more detailed parse " Sascha Hauer
2013-05-08 13:32   ` Sascha Hauer
2013-05-08 13:27 ` [PATCH 2/2] Print parser position on error Sascha Hauer
2013-06-10 13:56   ` Laurent Pinchart
2013-06-19  0:39     ` Laurent Pinchart
2013-06-19  5:30       ` Sascha Hauer
2013-06-19 10:40         ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).