From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH 0/2] Allow decimally formatted data for the commands "i2c_write" and "spi"
Date: Mon, 23 Oct 2017 09:27:33 +0200 [thread overview]
Message-ID: <20171023072733.bcxmpkiqu64qgud2@pengutronix.de> (raw)
In-Reply-To: <20171019065308.2507-1-u.oelmann@pengutronix.de>
On Thu, Oct 19, 2017 at 08:53:06AM +0200, Ulrich Ölmann wrote:
> Currently both commands set the default base for parsing user supplied data to
> 16 which makes it impossible at all to parse decimal data.
>
> Presumably this originates from having the convenience to easily copy'n'paste
> hex dumped data into these commands without further preprocessing it before.
>
> Change the default base to 0 to particularly allow decimally formatted data.
> This is in accordance to what the "mw" command does.
>
> Changes since (implicit) v1 (20171017) (http://lists.infradead.org/pipermail/barebox/2017-October/031356.html):
> - extended the commit messages to include the motivation for the change
> - added Uwe's acked-by
>
> Ulrich Ölmann (2):
> commands: i2c: do not restrict i2c_write's data to be hex-formatted
> commands: spi: do not restrict spi's data to be hex-formatted
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2017-10-23 7:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 6:53 Ulrich Ölmann
2017-10-19 6:53 ` [PATCH 1/2] commands: i2c: do not restrict i2c_write's data to be hex-formatted Ulrich Ölmann
2017-10-19 6:53 ` [PATCH 2/2] commands: spi: do not restrict spi's " Ulrich Ölmann
2017-10-19 7:44 ` [PATCH 0/2] Allow decimally formatted data for the commands "i2c_write" and "spi" Ulrich Ölmann
2017-10-23 7:27 ` Sascha Hauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-10-17 13:16 Ulrich Ölmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171023072733.bcxmpkiqu64qgud2@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=u.oelmann@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox